πŸ¦„
🌈
⭐
✨
πŸ’–
β–Έ PROJECT 04

πŸ¦„ NYLA'S UNICORN
RAINBOW BLAST

A Bomberman-inspired maze game with a magical twist. Guide your unicorn through pastel mazes, place rainbow bombs, defeat troll enemies, collect stars, and escape through 5 increasingly wild levels.

STATUSPLAYABLE NOW
TYPEBrowser Game
YEAR2026
LEVELS5 LEVELS
JavaScript Canvas API Maze Gen Web Audio Bomberman-Style Pacman AI
πŸ¦„
READY FOR THE ADVENTURE?
5 pastel maze levels. Rainbow bombs. Ghost enemies. Star collecting.
Power-ups, a lives system, and a high score leaderboard!
β–Έ PLAY NOW πŸ¦„ HOW TO PLAY

ABOUT THE GAME

Unicorn Rainbow Blast is a Bomberman-inspired maze game built entirely from scratch in pure JavaScript and the HTML5 Canvas API. You play as a pastel unicorn navigating procedurally generated mazes, placing rainbow bombs to blast through destructible blocks and defeat enemies.

Enemies behave like Pacman-style ghosts they wander the maze freely but switch to chasing mode when you get too close, making each level feel increasingly tense. Reach the exit door on each level to advance, collecting stars and power-ups along the way.

The maze is procedurally generated using recursive backtracking, so every playthrough is different. Five levels of escalating challenge await more enemies, tighter mazes, and the pressure building all the way to the finale.

CONTROLS

ARROWS / WASDMove your unicorn SPACEPlace a rainbow bomb ⭐ STARSCollect for +50 points πŸ“± D-PADTouch controls on mobile πŸšͺ EXITReach the door to advance

Blast blocks with rainbow bombs to carve your path to the exit. Bombs detonate after 2.5 seconds don't get caught in your own blast! Enemies killed by your bombs are worth 200 points each. Watch your 3 lives lose them all and it's game over.

WHAT'S IN THE GAME

🌈
RAINBOW BOMBS
Place bombs that explode in colourful rainbow blasts clearing blocks, defeating enemies, and triggering chain reactions.
πŸ‘»
PACMAN-STYLE ENEMIES
Troll enemies wander freely but switch to aggressive chase mode when you're nearby. More enemies appear with each level.
πŸ—ΊοΈ
PROCEDURAL MAZES
Every maze is uniquely generated using recursive backtracking no two playthroughs are the same.
⭐
STAR COLLECTING
Stars are scattered throughout each maze. Collect them for bonus points more stars per level as difficulty increases.
⚑
POWER-UPS
Hidden inside destructible blocks blast them open to find Speed Boost ⚑ or Big Rainbow Blast 🌈, each lasting a timed duration.
πŸ†
HIGH SCORE LEADERBOARD
Scores are saved locally and ranked on an in-game leaderboard. Top 10 scores are tracked across sessions.

5 LEVELS OF MAGIC

LVL 1 MEADOW MAZE
1 enemy. Learn the ropes. Find the exit and collect your first stars.
LVL 2 CRYSTAL CAVES
2 enemies. Tighter paths. More blocks to blast through.
LVL 3 ENCHANTED FOREST
3 enemies. Chase mode activates sooner. Power-ups become essential.
LVL 4 RAINBOW STORM
4 enemies. Faster movement. The maze gets seriously dangerous.
LVL 5 UNICORN FINALE
5 enemies at maximum speed. Survive, escape, and claim your glory!

HOW IT'S BUILT

🟨
VANILLA JAVASCRIPT
Complete game logic entity management, collision detection, bomb timing, AI pathfinding, power-up system β€” all in pure JS.
CORE
🎨
HTML5 CANVAS API
All sprites drawn programmatically the unicorn, ghost enemies, maze tiles, rainbow blasts, and particle effects. No image files used.
RENDERING
πŸ—ΊοΈ
PROCEDURAL MAZE GENERATION
Mazes generated at runtime using recursive backtracking guaranteeing a valid, explorable path through every level.
ALGORITHM
πŸ”Š
WEB AUDIO API
All sound effects synthesised in real-time with oscillators. Bombs, explosions, collecting stars, power-ups β€” no audio files.
AUDIO

PLAY & EXPLORE

Play directly in your browser. GitHub repository coming soon.

β–Έ PLAY THE GAME πŸ¦„ βŒ€ GITHUB β€” COMING SOON
BACK TO
ALL PROJECTS
β–Έ