Show more information when ID search finish

This commit is contained in:
Yorick Barbanneau 2023-12-21 22:07:56 +01:00
parent 5cfd2ce404
commit 3d3f757f41

View file

@ -334,9 +334,11 @@ class MinmaxDeepeningPlayerEngine(MinmaxPlayerEngine):
move = current_move
depth = depth + 1
self.logger.debug("id_minmax - depth reached: {} | max depth : {}".format(
self.logger.info("Iterative Minmax - depth: {}/{} | heuristic: {}".format(
depth - 1,
max_depth
max_depth,
heuristic
))
return move
@ -380,9 +382,10 @@ class AlphaBetaDeepeningPlayerEngine(AlphabetaPlayerEngine):
move = current_move
depth = depth + 1
self.logger.debug("id_minmax - depth reached: {} | max depth : {}".format(
self.logger.info("Iterative Alphabeta - depth: {}/{} | heuristic: {}".format(
depth - 1,
max_depth
max_depth,
heuristic
))
return move