🐉 Game Over! 🎊
Game Overview: You'll see a light grid where the snake will move.
Control the Snake:
-
Use the arrow keys on your keyboard or click the buttons to control the direction of the snake:
-
Arrow Up: Move the snake up.
-
Arrow Down: Move the snake down.
-
Arrow Left: Move the snake left.
-
Arrow Right: Move the snake right.
-
Objective:
-
The primary goal is to maneuver the snake to eat food and grow longer.
-
The food will be added to the game after it is eaten.
-
Avoid running into the walls or the snake's own body, as this will end the game.
Score:
-
The user earns 10 points if the snake eats the food.
-
The user loses 5 points if the snake hits the lantern.
Game Over:
-
The game ends if the snake hits the walls or its own body.
-
You can restart the game by pressing the "Play Again" button.