From d480887a1d780eaaec4bbd2a391df12f13617e9a Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 21 Dec 2023 17:27:44 +0100 Subject: [PATCH] Better display at the end of game --- src/game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.py b/src/game.py index d4cb717..4285146 100755 --- a/src/game.py +++ b/src/game.py @@ -188,5 +188,5 @@ if __name__ == '__main__': move[2] )) game.push(move) - print("Game end - score black:{}, white:{}".format(game.heuristique(1), game.heuristique(2))) - print(game.__str__) + print("Game end - score black:{}, white:{}\n".format(game._nbBLACK, game._nbWHITE)) + print(game.show_board())