move function returns None
jorgesumle opened this issue · comments
Satoshi Nakamoto commented
jorge@jorge-All-Series:~/Código/Repositorios/tictactoe$ python tictactoe_minimax.py
New game!
Traceback (most recent call last):
File "tictactoe_minimax.py", line 100, in
t.play_game()
File "tictactoe_minimax.py", line 52, in play_game
self.board[move - 1] = char
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Kan Ouivirach commented
Just merge the final code back to master branch. Please try again. @jorgesumle