How do I check for a collision in a Snake game, without triggering on the head block

后端 未结 0 1511
[愿得一人]
[愿得一人] 2020-12-18 03:40

I am making a snake game. It is supposed to end when I go over a block I have already been to. The issue is that it trips the collision check on every space so you lose from

相关标签:
回答
  • 消灭零回复
提交回复
热议问题