Use the arrow keys (or H, J, K, L) to roll the marble. Hold I for instructions. Click the maze first so it captures your keystrokes.

Share:PostRedditShare

You might also like

Frequently Asked Questions about Astray

How do I play Astray?
Use the arrow keys to roll the marble through the maze and find the exit. Vim users can also use H, J, K, and L. Click the maze first so it captures your keyboard input, then hold the I key at any time to see the instructions.
Is Astray free to play online?
Yes! Astray on PlayBrain is completely free to play in your browser. No downloads, no sign-ups, and no ads blocking gameplay.
What is the goal in Astray?
Roll the marble to the exit of each maze. Every time you escape, a new, larger maze is generated, so the challenge keeps growing level after level.
Does Astray work on mobile?
Astray is built for keyboard controls (arrow keys), so it plays best on a desktop or laptop. On a mobile device without a keyboard you can watch the 3D maze render, but steering the marble needs arrow or H/J/K/L keys.
Why does the maze keep getting bigger?
Astray is endless. Each maze is procedurally generated and grows by two cells in each dimension every time you reach the exit, so there is no final level, just an ever-harder labyrinth.
Is Astray open source?
Yes. Astray is a public-domain (Unlicense) WebGL game by wwwtyro, built with three.js and Box2D. PlayBrain self-hosts the original open-source build.

About Astray

Astray is a minimalist 3D maze game where you roll a single marble through a procedurally generated labyrinth in search of the exit. It was created by developer wwwtyro as an early showcase of in-browser 3D, combining the three.js WebGL renderer with the Box2D physics engine to give the marble real momentum and friction as it rolls between the brick walls. There is no time limit and no score to chase, just the quiet satisfaction of finding your way out. Each time you escape, the maze regenerates two cells larger in every direction, so the game has no ending, only an ever-expanding puzzle. Astray is released into the public domain under the Unlicense, which is what lets PlayBrain self-host the original open-source build for you to play here.

How to Play

  1. Click the maze once so it captures your keyboard input.
  2. Use the arrow keys (or H, J, K, L) to roll the marble in any direction.
  3. Navigate the walls and roll the marble to the exit opening.
  4. Each time you escape, a new and larger maze is generated. Keep going as far as you can.

Credits: Astray by wwwtyro, released into the public domain (Unlicense). Built with three.js and Box2D. Source: github.com/wwwtyro/Astray