Description
Lights Out – Phaser 3
Lights Out – Phaser 3 is a clean, mobile-friendly puzzle game template inspired by the classic Lights Out concept. Players must turn off all lights by tapping lit cells to toggle them along with their neighbors. The challenge comes from planning efficient moves to clear the board.
Core Gameplay
- Goal: turn off all lights to solve the level.
- Tap/click is allowed only on lights that are currently ON.
- Each tap toggles the selected light and its neighbors (up, down, left, right).
- Track moves and try to beat the target threshold for a gold completion state.
Features
- Desktop support with mouse/trackpad input.
- Mobile support with touch input (responsive layout via Phaser Scale Manager).
- Complete source files included and structured for easy reskinning and extension.
- API documentation output included under docs/ (TypeDoc).
Tech Stack
- Built with Phaser 3 (HTML5 game framework).
- Written in TypeScript for strong typing and maintainability.
- Vite-powered development and production builds.


