Aug-06-2017, 09:58 PM
(This post was last modified: Aug-06-2017, 09:59 PM by ichabod801.)
I explained that in the second part of my post, which part did you not understand? It would be something like this:
playerName = 'one' playerSymbol = 'two' while True: move = input('Player {} make a move:'.format(playerName)) print('Player one moved with an {}.'.format(playerSymbol)) if playerName == 'one': playerName = 'two' playerSymbol = 'O' else: playerName = 'one' playerSymbol = 'X'
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures