Source

python-ai / src / tic-tac-toe / output-a.txt

Full commit
Current player: HumanPlayer()
Waiting player: MinimaxPlayer()
Current board state:
N|N|N
N|N|N
N|N|N

Your move, pick a row (0-2):
2
Now pick a col (0-2):
2
Current player: MinimaxPlayer()
Waiting player: HumanPlayer()
Current board state:
N|N|N
N|N|N
N|N|X

Current player: HumanPlayer()
Waiting player: MinimaxPlayer()
Current board state:
N|N|N
N|O|N
N|N|X

Your move, pick a row (0-2):
2
Now pick a col (0-2):
0
Current player: MinimaxPlayer()
Waiting player: HumanPlayer()
Current board state:
N|N|N
N|O|N
X|N|X

Current player: HumanPlayer()
Waiting player: MinimaxPlayer()
Current board state:
N|N|N
N|O|N
X|O|X

Your move, pick a row (0-2):
0
Now pick a col (0-2):
1
Current player: MinimaxPlayer()
Waiting player: HumanPlayer()
Current board state:
N|X|N
N|O|N
X|O|X

Current player: HumanPlayer()
Waiting player: MinimaxPlayer()
Current board state:
O|X|N
N|O|N
X|O|X

Your move, pick a row (0-2):
0
Now pick a col (0-2):
2
Current player: MinimaxPlayer()
Waiting player: HumanPlayer()
Current board state:
O|X|X
N|O|N
X|O|X

Current player: HumanPlayer()
Waiting player: MinimaxPlayer()
Current board state:
O|X|X
N|O|O
X|O|X

Your move, pick a row (0-2):
1
Now pick a col (0-2):
0
Final board state:
O|X|X
X|O|O
X|O|X

Tie.