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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue