-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Develop a basic implementation of the Snake Game using HTML, CSS, and JavaScript. The game should include the following features:
A snake that moves around the screen using arrow keys.
The snake grows longer as it eats food.
The game ends if the snake collides with itself or the screen boundaries.
A scoring system that increments based on food eaten.
Tasks:
Set up the HTML, CSS, and JavaScript files.
Implement the snake's movement and controls.
Add functionality for food spawning and consumption.
Implement collision detection (self and walls).
Create a scoring system.
Test the game thoroughly.
Add a README file with instructions on how to play and run the game.
Additional Notes:
Use a minimalistic design for the game board and snake to maintain simplicity.
Ensure the game is responsive and playable on various screen sizes.
Consider adding keyboard and touch controls for accessibility.
Milestones:
Basic project setup and game board creation.
Snake movement and controls.
Food functionality and scoring.
Collision detection and game-over conditions.
Final testing and documentation.