Enhance player display
This commit is contained in:
parent
e76cfdb753
commit
8c825506f5
1 changed files with 4 additions and 3 deletions
|
@ -182,9 +182,10 @@ if __name__ == '__main__':
|
|||
move = bplayer.get_move(game)
|
||||
else:
|
||||
move = wplayer.get_move(game)
|
||||
print("Player {} move: {}".format(
|
||||
game._nextPlayer,
|
||||
move
|
||||
print("Player {} move: {},{}".format(
|
||||
"Black (X)" if move[0] == 2 else "White (O)",
|
||||
move[1],
|
||||
move[2]
|
||||
))
|
||||
game.push(move)
|
||||
print("Game end - score black:{}, white:{}".format(game.heuristique(1), game.heuristique(2)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue