Loading pythonsnake/model.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
pythonsnake/model.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading