Commit 9080ad13 by BellCodeEditor

save project

parent d7be8b52
Showing with 19 additions and 2 deletions
import random
class Hero(object):
def __init__(self, name):
self.name = name
......@@ -42,4 +43,20 @@ houyi.cure()
yase.cure()
while True:
print('-'*0+'dysfhudygsou'+'-'*20)
\ No newline at end of file
chice = input('hfgmustfre')
if :
chice=='q':
print('蝴蝶法国货;dsfh')
break
elif chice=='1':
houyi.combat(yase)
elif chice=='2':
houyi.cure()
else:
print('gdfkhshfgaskdfjgwae')
continue
num1=random.randint(1,3)
if num1=='1':
yase.cure()
else:
yase.combat(houyi)
\ No newline at end of file
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