Commit 0bc9f19d by BellCodeEditor

save project

parent f859697d
Showing with 2 additions and 5 deletions
......@@ -53,10 +53,8 @@ while True:
else:
print("请重新输入")
continue
computer_answer = random.random(1,3)
if computer_answer == 1:
yase.combat(houyi)
elif computer_answer == 2:
computer_answer = random.randint(1,3)
if computer_answer == 2:
yase.cure()
else:
yase.combat(houyi)
......@@ -79,7 +77,6 @@ while True:
# houyi.combat(yase)
# yase.combat(houyi)
# houyi.cure()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment