A Simple Snake Game made in Python 3 · GitHub
having tested this code (being too lazy to make my own!) i noticed that the collision logic with the food isn't ideal, the food often vanished when not touching the snake. the problem stems from the fact that the food spawns in on a random point within turtle's built-in coordinate system, rather than the 30-by-30 grid the snake moves through (given the screen width is 600 and the snake width ...