A free 3D maze puzzle in the browser tab: tilt-steer a rolling ball through a procedurally-generated maze to find the exit, then a new maze - one size bigger - generates for the next level. Keyboard only, no install, no account, nothing uploaded.
A 3D WebGL maze game on the open-source Astray engine. About 1.7 MB downloads once from this site when you press Play, then the browser caches it.
Arrow keys (or h / j / k / l) roll the ball. Keyboard only - no touch or gamepad controls.
Marble Maze
Press Play and a 3D maze appears with a ball waiting at the entrance. Roll it with the arrow keys - or the Vim keys h, j, k, l if you would rather keep your hand on the home row - and work through the corridors to find the exit. The ball has momentum and glides a little after you let go of a key, so the puzzle is part maze-solving and part learning to brake before a corner.
Controls at a glance:
| Action | Key |
|---|---|
| Move | Arrow keys |
| Move (Vim style) | H / J / K / L |
| Show / hide instructions | Hold I |
Every maze is generated on the spot - a randomized path-carving algorithm builds a fresh layout each time, so there is no fixed route to memorize. Find the exit and the level counter in the corner ticks up; the next maze is one size larger, so the game keeps getting a little longer as you go. There is no save, no best time, and no win screen - closing the tab starts you back at level 1 next time, and the maze simply keeps growing for as long as you keep finding exits.
The game is about 1.7 MB - the WebGL engine, physics, and the three brick, floor, and ball textures - downloaded once from this site and then cached; it needs a WebGL browser. It runs on Astray, an open-source maze game by developer wwwtyro released into the public domain (the Unlicense) - the license file ships next to the game files.
Frequently Asked Questions
What does Marble Maze do?
It is a 3D maze puzzle that runs entirely in the browser tab: tilt-steer a rolling ball with the arrow keys (or h / j / k / l) through a procedurally-generated maze to find the exit. Finding it grows a new, larger maze for the next level. It runs on the open-source Astray engine.
Does it work on a phone?
The game needs a keyboard - there are no touch or gamepad controls, so it plays best on a desktop or laptop with a WebGL-capable browser.
Is my progress or best time saved?
No. Marble Maze has no save, no best-time tracking, and no accounts - closing the tab or reloading the page starts a fresh game back at level 1.
Is there a way to see the controls again while playing?
Yes - hold down the I key at any point to show the instructions panel, and release it to hide the panel again. The game keeps running underneath.