# 💡 Light Puzzle — Illuminate the Crystals

A minimalist grid-based puzzle game about light, mirrors, and reflection. Place light sources on a grid to illuminate all crystals. Light travels in 4 directions and reflects off mirrors — plan your placement carefully.

## 🎮 Gameplay

- **Objective**: Illuminate all crystals (◆) on each level using a limited number of light sources.
- **Mechanics**:
- Light sources emit rays in 4 directions (up/down/left/right)
- Mirrors (╱ ╲) reflect light 90°
- Walls (▓) block light completely
- Crystals (◆) are illuminated when a ray passes through them
- **5 handcrafted levels** with increasing difficulty

## 🖱️ Controls

- **Click empty cell** → place a light source
- **Click a placed light** → remove it
- **Reset / Prev / Next buttons** → navigate levels

## ✨ Features

- **Zero install** — plays directly in your browser
- **Auto-save** — progress saved to localStorage
- **Clean Canvas 2D** — runs on any device, no WebGL required
- **5 verified-solvable levels** — headless ray-cast tested

## 🔧 Tech

Built with vanilla JavaScript + Canvas 2D + Vite. No frameworks, ~7KB total.

---

---

## More games

[url=https://aguier.itch.io/ai-trainer-simulator Trainer Simulator (Free)[/url] — Incremental idle, train AI to AGI

[url=https://aguier.itch.io/d4-poly-racer Racer ($8)[/url] — 3D browser racing

[url=https://aguier.itch.io/d5-sandbox-builder Sandbox Builder ($10)[/url] — 3D sandbox building

---

🛒 Limited time — : Get this game + 3 more for $19 in the . Regular price $19 — you save $4.75.



🎮 Get All 4 Games — 4 Complete Games Bundle

D-Line 4-Game Bundle — $19 (was $19)

Get this game + 3 more browser games in one purchase. AI Trainer + Light Puzzle + Poly Racer + Sandbox Builder. PayPal accepted. Save 25% during Launch Sale (ends July 18).



🎮 Try Our Free Idle Games

Enjoy browser games? Try our free idle/clicker games: Idle Galaxy (build the universe, Big Bang prestige) and Idle Pet Cafe (adopt 8 pets, collect them all). Both 100% free, no install needed.



⛏️ Try Our Free Idle Clicker Games

Love incremental games? Try our free idle clickers: Idle Mine — Clicker Game (dig deeper, unlock 8 upgrades, prestige with New Shaft) and Idle Farm — Clicker Harvest (plant, harvest, 4 seasons prestige). Both 100% free, no install, play in your browser.

🎮 **Also try:** [Idle Potion Shop](https://aguier.itch.io/idle-potion-shop-alchemy-clicker) — Brew potions, sell for gold, prestige to unlock new recipes!

📝 **Read the dev story:** [I Built a Reflection Puzzle Game in 5 KB of Vanilla JavaScript — With an Automated Solver](https://telegra.ph/I-Built-a-Reflection-Puzzle-Game-in-5-KB-of-Vanilla-JavaScript--With-an-Automated-Solver-07-21)

**AI Use Disclosure:** LLM-based AI assistants were used for code generation and debugging during development. All game visuals are procedurally drawn with Canvas 2D primitives — no AI-generated images or assets. Game design, mechanics, and balance are human-created.

🛒 Also check our August Sale — 45% off: https://itch.io/s/196624/d-line-august-sale-45-off-all-games


🛍️ August Sale — 45% off, ends Aug 31

Visit our Sale Hub for 6 browser games at discounted prices! View the sale →

Updated 9 days ago
StatusReleased
PlatformsHTML5
Authoraguier
GenrePuzzle
Tags2D, artgame, Experimental, Minimalist, Physics, Short, Singleplayer
AI DisclosureAI Assisted

Purchase

Get this game and 7 more for $29.70 USD
View bundle
Buy Now
On Sale!
45% Off
$5.00 $2.75 USD or more

In order to download this game you must purchase it at or above the minimum price of $2.75 USD. You will get access to the following files:

d2-light-puzzle-html.zip 3.8 kB
Version 5

Development log

View all posts