LUMEN GARDEN(星光庭園) is a lane tower-defense game inspired by the classics: plant defenders on a 5×9 starlit lawn, harvest light orbs, and hold the line against escalating waves of the Shadow Tribe — across five rule-twisting campaign levels, or in an endless roguelike mode where you stack perks between boss waves.
The entire game is hand-built with the raw web platform — vanilla JavaScript, Canvas rendering and the Web Audio API. There are no frameworks and no audio files. The cast is 18 original AI-generated sprites (about 280 KB in total), while the battlefield — grass, moonlight, fog and fireflies — is painted in code with its own palette for every level, and each hit lands with glow, sparks and screen shake. Install it to your phone's home screen and it runs fully offline.
Features
- Five Campaign Levels: classic night, a moonless economy challenge with no falling orbs, a boulder-strewn field that blocks planting, a gale night of sprinters and flyers, and a twin-boss finale — each rated 1–3 stars by how many starlight bombs you keep
- Endless Roguelike Mode: formula-generated waves that scale until you break, with a pick-one-of-three perk draft every five waves (fire rate, damage, orb value, cooldowns and more — all stackable), best wave saved locally
- Seven Defenders: light-producing mushrooms, thorn snipers, slowing frost lotuses, splash-damage blaze flowers, 500-HP boulder walls, lane-piercing bamboo lances and cheap one-shot starfire mines
- Six Enemies: shamblers, sprinters, armored brutes, bats that fly over your walls, splitters that burst into two on death, and the Shadow Monarch boss — who summons minions and crushes walls for 4× damage
- Unit Upgrades: tap a placed unit to level it up to Lv3 — more damage, faster production, full heal on upgrade
- Achievements & Stars: 8 achievements and per-level star ratings, all persisted in localStorage
- Synthesized Audio: 11 sound effects generated in real time by Web Audio oscillators, with a mute toggle
- Installable PWA: add to home screen on iOS/Android, plays fully offline via service-worker caching
- Bot-Tested Balance: an automated player simulated full endless runs to calibrate the difficulty curve
Controls
Click a card, then click a lawn tile to plant; click a placed unit to upgrade it. Click falling light orbs to collect energy. P to pause, speaker icon to toggle sound, shovel to remove a unit for a 50% refund.




