Update multi_agent.py
Browse files- multi_agent.py +1 -0
multi_agent.py
CHANGED
@@ -15,6 +15,7 @@ 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 |
move_num += 1
|
19 |
print("###### make_move: " + str(move_num))
|
20 |
move = chess.Move.from_uci(move)
|
|
|
15 |
)
|
16 |
|
17 |
def make_move(move: Annotated[str, "A move in UCI format."]) -> Annotated[str, "Result of the move."]:
|
18 |
+
global move_num
|
19 |
move_num += 1
|
20 |
print("###### make_move: " + str(move_num))
|
21 |
move = chess.Move.from_uci(move)
|