Description
Three Sided Box: A Brain-Teasing Isometric Puzzle Game Template
Three Sided Box is a polished HTML5 puzzle game template built with Phaser 4 and TypeScript. Players draw a continuous path across the visible faces of 3D-style boxes, activating every playable front, side, and top face to clear each level. The clever twist is that the game uses a 2.5D isometric projection with pure 2D sprite assets, so there are no 3D models or complex rendering pipelines to manage.
How the Puzzle Gameplay Works
Click or drag across faces that visually share an edge. Neighbor detection follows visible edges rather than simple grid adjacency, which makes each route feel spatial and intuitive. Branching paths and dead ends reward careful planning, while Undo (Z) and Reset (R) help players recover and try a smarter route.
Levels, Difficulty, and a Built-In Level Generator
Levels are defined on a simple 3D numeric grid, making it easy for designers to create and edit layouts. Each cell supports eight face-enable codes (0-7), giving fine-grained control over which faces are playable on every box. A built-in Level Generator CLI automatically produces unique, solvable levels with adjustable difficulty.
Four difficulty presets are included: Easy, Medium, Hard, and Insane. They control grid size (up to 12x14x10), block count (up to 95), and visible face count (up to 80). Insane mode adds a solvability-preserving post-processor that randomly disables faces for an extra challenge, and optional hint steps can guide players or present the intended solution path.
Built for Mobile and Easy Reskinning
The template is designed for a 1080×1920 (9:16 portrait) mobile target and includes 30 ready-made levels, from simple 2×2 grids to complex multi-layered puzzles, all generated with the built-in CLI. It is reskin-ready with a dedicated reskin guide, plus complete documentation covering architecture, gameplay rules, the asset catalog, the level generator, and reskinning.
Tech Stack and Browser Support
- Phaser 4 HTML5 game framework
- TypeScript 5.7 and Vite 6.3
- Files included: JavaScript, HTML, and CSS
- Supported browsers: Chrome, Firefox, Safari, Edge, and Opera
Whether you want to publish a polished mobile puzzle game, learn modern Phaser 4 and TypeScript game development, or start from a well-documented template with a level generator built in, Three Sided Box offers a smart, replayable foundation for isometric puzzle gameplay.





Reviews
There are no reviews yet.