Crystal Caverns
Crystal Caverns
How far can you fly?
Crystal Caverns is an endless cave flying game where every run is different. Navigate procedurally generated tunnels, collect glowing crystals, and survive as long as possible while mastering momentum-based flight.
Built entirely with HTML5, CSS, and vanilla JavaScript, this project is ideal for developers, students, and hobbyists interested in browser-based game development.
Gameplay Features
💎 Collect crystals to increase your score
🚀 Fly through an endlessly generated cave system
⚡ Manage your boost energy for maximum distance
🔥 Build score multipliers through consecutive crystal pickups
💥 Avoid cave walls and survive as long as possible
🏆 High scores are automatically saved
Technical Features
- HTML5 Canvas rendering
- Procedural cave generation
- Real-time game loop (requestAnimationFrame)
- Vanilla JavaScript (no external libraries)
- Local Storage for persistent high scores
- Dynamic lighting and particle effects
- Responsive keyboard controls (WASD & Arrow Keys)
Included
- Complete HTML source code
- CSS stylesheet
- JavaScript source code
- Game assets
Requirements
- Google Chrome
- Microsoft Edge
- Mozilla Firefox
- Safari
No installation or plugins required.
Great For
- Learning HTML5 game development
- JavaScript programming
- Web development portfolios
- Game jams
- Custom browser game projects
- Educational use
Can you fly 1,000 meters without crashing? Download Crystal Caverns today, challenge your reflexes, or use the project as a foundation for your next HTML5 game!