fix computer last move

master
Drew Bednar 4 years ago
parent 0a7c6f3281
commit cfd635145f

@ -83,7 +83,7 @@ def handle_turn():
# take player input # take player input
choice = input('Choose a position from 1 to 9: ') choice = input('Choose a position from 1 to 9: ')
else: else:
choice = random.choice(find_open_spaces()) choice = random.choice(find_open_spaces()) + 1
else: else:
# take player input # take player input
choice = input('Choose a position from 1 to 9: ') choice = input('Choose a position from 1 to 9: ')

Loading…
Cancel
Save