A classic Snake game built with HTML, CSS, and JavaScript for the browser. The game features a retro grid-based layout, smooth animations, a glowing neon aesthetic, and simple but responsive controls.
- 10x10 grid-based snake movement
- Random food spawning with glowing effects
- Score tracking
- Increasing speed as the snake grows
- Neon-themed styling with CSS effects
- Start menu and game over screen
- Restart functionality without page reload
- Clone this repository:
git clone https://github.com/psupra22/Web-Snake-Game cd Web-Snake-Game - No dependencies are required — it runs entirely in the browser.
- Make sure the following files are in the same directory:
- index.html – Game layout
- style.css – Styling and effects
- index.js – Game logic
Open index.html in any modern browser.
- Arrow keys: Move the snake
- SPACE: Start game from menu
- R: Restart game after game over
This project is licensed under the MIT License.
For any inquiries, feel free to reach out at psupra521@gmail.com.