Output Turns in server logs when doing moves

This commit is contained in:
2024-04-14 21:32:10 +02:00
parent 1154127a40
commit 9869f14bbe
+1 -1
View File
@@ -94,7 +94,7 @@ class Server:
if self.debug:
print(self.running_games[game_state["game"]["id"]])
print("MOVE:", f"{next_move:5},", "Me:", {"head": game_state["you"]["head"], "length": game_state["you"]["length"]})
print("TURN:", f'{game_state["turn"]:3},', "MOVE:", f"{next_move:5},", "Me:", {"head": game_state["you"]["head"], "length": game_state["you"]["length"]})
return {"move": next_move}
# end is called when your Battlesnake finishes a game