An enjoyable and interactive Snake game developed in Python with the Turtle graphics library. Later enhanced into a web version using HTML, CSS, and JavaScript, playable directly in browsers on desktop or mobile devices.
- Use the Arrow keys to control the snake's movement on desktop
- Use on-screen direction buttons for mobile/tablet controls
- Eat food to grow longer and increase your score
- Avoid crashing into the walls or your own body
- Restart to try surpassing your previous high score when the game ends
- Classic Snake gameplay
- Live score display
- Game over screen with the final score
- Mobile-friendly touch controls
- Smooth animations and movement
- Fully responsive design optimized for all devices
| Version | Language | How to Play |
|---|---|---|
| 🐍 Python | Python (Turtle) | Local execution in Python |
| 🌐 Web | HTML, CSS, JS | Play anytime in the browser |
Snake-Game/
├─ index.html # Web game UI layout
├─ styles.css # Styling and responsive design
├─ script.js # Game logic and input controls
└─ python_version/ # Original Python Turtle-based version
- Add sound effects for eating and collisions
- Maintain high score storage
- Create different themes/skins for the snake
- Implement multiple difficulty levels