A modern, minimalistic implementation of the classic Snake Game, built using HTML, CSS, and JavaScript.
Control the snake, eat food, and try to survive as long as possible!
Play the game here ๐ Live Demo
- ๐ฎ Keyboard controls for intuitive gameplay
- ๐ฑ Touch controls for mobile
- ๐ Food appears randomly on the grid
- ๐ฅ Game over on collision with walls or self
- ๐ Real-time score tracking
- ๐พ Minimalist, responsive design for desktop & mobile
The snake moves continuously on a grid-based canvas.
Each time it eats a food item:
- Its body grows
- A new food appears in a random position
Game ends when the snake hits a wall or itself.
- HTML5 โ Game structure
- CSS3 โ Grid layout and styling
- JavaScript (ES6) โ Core game logic, rendering, and interaction
- ๐ High score tracking (local storage)
- ๐จ Custom themes or skins
- ๐ถ Sound effects and background music
