Escape from the Labyrinth is a small browser game built with JavaScript and Phaser 3. Each level generates a new maze that becomes larger as the game progresses. The goal is to find two keys, unlock the exit and move on to the next level.
| Main menu | Level complete |
|---|---|
![]() |
![]() |
| Action | Control |
|---|---|
| Move | Arrow keys |
| Mobile movement | On-screen direction buttons |
| Menu buttons | Mouse or touch |
| Pause and settings | On-screen menu button |
- Procedurally generated mazes
- Increasing level size
- Keys and a locked exit
- Animated character movement
- Dynamic lighting, normal maps and moving fog
- Camera follow and level HUD
- Ambient audio and sound effects
- Pause menu, volume control and fullscreen mode
- Touch controls for mobile devices
- JavaScript
- Phaser 3.60
- HTML5 and WebGL
Clone the repository and start a local HTTP server from the project folder:
python -m http.server 8000Then open http://localhost:8000 in a browser.


