# coding:utf-8
import random
player_score=0
computer_score=0
print('''
★★★★★★★★★★★欢迎来到4399游戏平台★★★★★★★★★★★★
石头 剪刀 布
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
''')
player_name=input('请输入玩家的名字')
print('1.貂蝉,2.曹操,3.诸葛亮')
choice=eval(input('请选择您的对手'))
# comput_name=
if choice==1:
computer_name ='貂蝉'
elif choice==2:
computer_name ='曹操'
elif choice==3:
computer_name ='诸葛亮'
else:
computer_name='匿名'
print(player_name, 'VS',computer_name)
while True:
print('-------------1.石头,2.剪刀,3.布-------------\n')
player_fist=eval(input('请选择您的出拳'))
if player_fist==1:
print(player_name,'的出拳为:石头')
elif player_fist==2:
print(player_name,'的出拳为:剪刀')
elif player_fist=