Welcome to Snake Game! This is a fun game developed using JavaScript, HTML, and CSS, where you control a snake that must eat fruits to grow without crashing into walls or itself.
You can try the game directly in your browser via the following link:
๐ Play Snake Game
-
Controls: Use the arrow keys on your keyboard to move the snake:
- โฌ๏ธ Up Arrow: Move up.
- โฌ๏ธ Down Arrow: Move down.
- โฌ ๏ธ Left Arrow: Move left.
- โก๏ธ Right Arrow: Move right.
-
Objective:
- Eat the fruits (squares) to grow the snake and earn points.
- Avoid crashing into the walls or your own tail.
-
Game Over: The game ends if the snake crashes into itself or the board's boundaries.
The project is organized into the following files:
- index.html: Main structure of the game.
- style.css: Visual styles of the game.
- script.js: Game logic and event handling.
- HTML5 for structure.
- CSS3 for design.
- JavaScript for game logic.
Add screenshots or gifs of the game in action here to provide a preview for users!
- Interactive and easy-to-play design.
- Increasing difficulty as the snake grows.
- Fully responsive, works on any modern browser.
- Add difficulty levels.
- Implement high scores.
- Add different designs or colors for the snake and the board.
If you have questions, suggestions, or want to collaborate on the project, feel free to reach out:
- GitHub: Maurux01
- Email: [email protected]
Thank you for playing and enjoying Snake Game! ๐๐ฎ