Skip to content
Commits on Source (2)
......@@ -80,6 +80,7 @@ class Game:
]
def check_candy(self) -> bool:
#if snake head and candy at the same position
if (
self.snake.coord[0]["x"] == self.candy.X
and self.snake.coord[0]["y"] == self.candy.Y
......