Commit c9c65806 authored by Anthony Jacob's avatar Anthony Jacob
Browse files

add comment

parent 9df3645f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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