Update multi_agent.py
Browse files- multi_agent.py +2 -1
multi_agent.py
CHANGED
@@ -15,7 +15,8 @@ def get_legal_moves() -> Annotated[str, "A list of legal moves in UCI format"]:
|
|
15 |
)
|
16 |
|
17 |
def make_move(move: Annotated[str, "A move in UCI format."]) -> Annotated[str, "Result of the move."]:
|
18 |
-
|
|
|
19 |
move = chess.Move.from_uci(move)
|
20 |
board.push_uci(str(move))
|
21 |
global made_move
|
|
|
15 |
)
|
16 |
|
17 |
def make_move(move: Annotated[str, "A move in UCI format."]) -> Annotated[str, "Result of the move."]:
|
18 |
+
move_num += 1
|
19 |
+
print("###### make_move: " + str(move_num))
|
20 |
move = chess.Move.from_uci(move)
|
21 |
board.push_uci(str(move))
|
22 |
global made_move
|