Invert the Y-Axis to match modern gameplay.

This commit is contained in:
bvanvugt 2021-01-19 15:33:05 -08:00
parent e1bafaac69
commit d62807774b
6 changed files with 32 additions and 37 deletions

View file

@ -300,11 +300,6 @@ func getMoveForSnake(state *rules.BoardState, snake Battlesnake, outOfBounds []r
log.Fatal(jsonErr)
} else {
move = playerResponse.Move
if snake.API == "1" && move == "up" {
move = "down"
} else if snake.API == "1" && move == "down" {
move = "up"
}
}
}
}