Legend Snake 🐍
A mythical take on the classic Snake game, built with HTML5 Canvas and JavaScript.
Features
- 🎮 Smooth, responsive controls
- 🌀 Portal-style boundary wrapping
- ✨ Particle effects and visual feedback
- 🎵 Sound effects with mute option
- 📱 Mobile touch support
- 💎 Score tracking and high score system
- ⚡ Progressive difficulty scaling
How to Play
- Click "Play Game" to start
- Use arrow keys to control the snake:
- ⬆️ Up Arrow
- ⬇️ Down Arrow
- ⬅️ Left Arrow
- ➡️ Right Arrow
- Collect golden treasures to grow and score points
- Avoid biting your own tail
- Pass through walls to emerge on the opposite side
Controls
- Keyboard: Arrow keys for movement
- Mobile: Swipe in any direction
- Sound: Click the sound icon to mute/unmute
- Restart: Click "Play Again" after game over
Technologies Used
- HTML5 Canvas
- CSS3 with animations
- Vanilla JavaScript
- Responsive Design
Setup
- Clone the repository
- Open
index.html in a modern web browser
- No additional dependencies required
Notes
- Requires a modern browser with HTML5 Canvas support
- Sound files (
collect.mp3 and gameover.mp3) must be present in the project directory