change server to enable debug and not output body output getting very long
This commit is contained in:
@@ -45,7 +45,7 @@ def start(game_state: typing.Dict):
|
||||
def move(game_state: typing.Dict) -> typing.Dict:
|
||||
next_move = SNAKE.choose_move(game_state)
|
||||
game_state_storage.add_moves(game_state["board"], next_move)
|
||||
print("MOVE:", f"{next_move},", "Me:", {"body": game_state["you"]["body"], "head": game_state["you"]["head"], "length": game_state["you"]["length"]})
|
||||
print("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
|
||||
|
||||
Reference in New Issue
Block a user