Commit 22efff53 by BellCodeEditor

save project

parent ef280433
Showing with 4 additions and 18 deletions
# 玩家出拳
player=input("小伙子,你出什么呢")
print("玩家出拳:"+player)
import random
player=input("你个怨种要出什么?")
print("怨种出拳"+player)
list=["万象天引","神罗天征","地爆天星"]
computer=random.choice(list)
print("计算机出拳:"+computer)
if player in list:
if player==computer:
print("平局,出发幻术别天神,玩家胜利")
elif player=="万象天引" and computer=="地爆天星":
print("小伙子,你赢了!!!!!!")
elif player=="地爆天星" and computer=="神罗天征":
print("小伙子,你赢了!!!!!!")
elif player=="神罗天征" and computer=="万象天引":
print("小伙子,你赢了!!!!!!")
else:
print("你输了,触发伊邪那美,玩家强制胜利")
if not player in list:
print("你用自创的术把对方狠狠地揍了一顿")
print("佩恩出拳"+computer)
\ 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