Hi,
...love the game!
Food appears to be placed on the snake, this makes it quite difficult or even impossible to eat the food when the snake gets long. I fixed it as follows in the createFood() method:
Hi @hansjakobli , happy to hear that you loved the game. Great work in identifying and fixing the issue. Would love if you could raise a proper PR for this? 😄
Hi, ...love the game! Food appears to be placed on the snake, this makes it quite difficult or even impossible to eat the food when the snake gets long. I fixed it as follows in the
createFood()
method:Sorry for not creating a proper PR. Cheers