I challenged myself to build a full 3D browser game with zero dependencies and no build step. Just one index.html and a Three.js CDN link.
The result is Serpentine — a 3D snake game with WebGL graphics, particle effects, and mobile joystick support.
🎮 Gameplay Demo
✨ Features
- 3 difficulty levels — Easy, Medium, Hard
- WebGL 3D graphics with particle effects on food pickup
- Mouse, Joystick & Swipe control modes
- Persistent high scores per difficulty
- Achievement toasts at score milestones
- Zero dependencies — pure HTML + JS
🕹️ Controls
| Input | Action |
|---|---|
| Mouse | Guide the snake |
| WASD / Arrows | Keyboard |
| Space | Pause / Resume |
| M | Switch control mode |
🔗 Links
🎮 Play Live → serpentine-game.netlify.app
⭐ GitHub → github.com/S-SUJAN-S/serpentine-game
🎲 itch.io → s-sujan-s.itch.io/serpentine-3d-snake
Feel free to fork it and build on top — the source is clean and readable!
Top comments (0)