Invert the Y-Axis to match modern gameplay.
This commit is contained in:
parent
e1bafaac69
commit
d62807774b
6 changed files with 32 additions and 37 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue