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

@ -67,8 +67,8 @@ func TestConstrictorCreateNextBoardState(t *testing.T) {
Food: []Point{},
},
[]SnakeMove{
{ID: "one", Move: MoveDown},
{ID: "two", Move: MoveUp},
{ID: "one", Move: MoveUp},
{ID: "two", Move: MoveDown},
},
&BoardState{
Width: 3,
@ -103,7 +103,7 @@ func TestConstrictorCreateNextBoardState(t *testing.T) {
Food: []Point{},
},
[]SnakeMove{
{ID: "one", Move: MoveDown},
{ID: "one", Move: MoveUp},
},
&BoardState{
Width: 3,