SnakeMania is a modern twist on the classic snake game, built for desktop browsers. Grow your snake, avoid collisions, and set high scores! This game is designed for fun, competitive play with multiple players and persistent local scores.
- Classic Snake Gameplay: Move, eat food, and grow your snake.
- Multi-Player Support: Add new players and switch between them easily.
- Persistent High Scores: Track scores using
localStorage. - Responsive Desktop Design: Optimized for large screens (min 1300x800).
- Sound Effects: Food pickup, movement, game over, and background music.
- Play/Stop Controls: Toggle the game anytime with active button highlight.
- Open the game on a desktop browser.
- Use Arrow keys or WASD to control the snake:
- Up →
ArrowUp/W - Down →
ArrowDown/S - Left →
ArrowLeft/A - Right →
ArrowRight/D
- Up →
- Press Play to start or Stop to pause the game.
- Eat the food to grow your snake and increase your score.
- Avoid colliding with walls or yourself to keep playing.
- High scores are tracked per player in your browser.
SnakeMania/
│
├── index.html # Main HTML file
├── img/ # Images
├── css/
│ └── style.css # Game and UI styles
├── js/
│ ├── index.js # Game logic
│ └── playersManagement.js # Player and highscore management
└── music/ # Audio files for game
├── food.mp3
├── move.mp3
├── gameover.mp3
└── music.mp3
