Skoro pobierasz int-a od "gracza",
choice = int(input('Choose what you want: '))
to wygodnie by było żeby "wybór" komputera też był int-em, np.:
computer = random.randrange(1, 4)
przykład [ on-line ]
import os, random
clearConsole = lambda: os.system('cls' if os.name in ('nt', 'dos') else 'clear')
(win, lose, draw) = (0, 0, 0)
game = ['Rock', 'Paper', 'Scissors']
def games():
global win, lose, draw, game
clearConsole()
print('Win:', win, ' Lose:', lose, ' Draw:', draw)
print('[1]', game[0], '| [2]', game[1], '| [3]', game[2])
user = input('Choose what you want: ')
if not user.strip().isdigit():
games()
else:
user = int(user)
if user not in [1,2,3]:
games()
clearConsole()
computer = random.randrange(1, 4)
print('Your choice:', game[user-1])
print('Computer choice:', game[computer-1])
if user == computer:
print('Tie in the game!')
draw += 1
elif (user == 1 and computer == 3) or \
(user == 2 and computer == 1) or \
(user == 3 and computer == 2):
print('You win!')
win += 1
else:
print('You lose!')
lose += 1
again = input('\nWant to play again ?\n (y)es, Enter - play again\n (n)o or any - exit\n: ')
if again.lower() == 'y' or again.strip() == '':
games()
games()
P.S How to style multi-line conditions in 'if' statements in Python?