Fix the starting tail (no idea why it works this way).

This commit is contained in:
Sacha Ligthert 2024-08-15 13:43:01 +02:00
parent 0732e7f809
commit b7af5b64ad

View File

@ -14,7 +14,7 @@ func initSnake(snakex int, snakey int) Snake {
},
tail: []Position{
{
x: x - 1,
x: x - 3,
y: y,
},
{
@ -22,7 +22,7 @@ func initSnake(snakex int, snakey int) Snake {
y: y,
},
{
x: x - 3,
x: x - 1,
y: y,
},
},