Commit ef280433 by BellCodeEditor

auto save

parent b5c6bbbe
Showing with 21 additions and 0 deletions
# 玩家出拳
player=input("小伙子,你出什么呢")
print("玩家出拳:"+player)
import random
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("你用自创的术把对方狠狠地揍了一顿")
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