Coordinates: 0, 0 | Steps: 0 | Chunks: 0 | Seed:
Click to play — WASD or arrow keys to move

Infinite Maze

Infinite Maze is a chunk-based infinite procedural maze. The world extends endlessly in all directions—chunks are generated on demand as you explore. There is no timer, no finish line; explore freely and see how far you can go. Your coordinates, step count, and number of explored chunks are shown in the HUD. The camera follows your character smoothly as you navigate using WASD or arrow keys.

∞ Why It's Infinite

🌀 Chunk-Based Procedural Generation

Maze chunks (16×16 cells each) are generated deterministically from a seed and chunk coordinates. Adjacent chunks share aligned boundaries so passages connect seamlessly. There are no predefined maps—the maze grows endlessly as you move.

🔄 Endless Exploration

Hit "New Maze" anytime to get a fresh world with a new seed. No timer, no goal—just explore as long as you like. Only nearby chunks stay in memory for smooth performance.

🎯 Inspired by Our Classic Maze

Infinite Maze keeps the clear, responsive gameplay of our original Classic Maze and adds procedural variety. Try the original here: Classic Maze on GameforBreak.

🕹️ Gameplay Overview

* Use WASD or arrow keys to move—smooth camera follows your position.
* HUD shows: coordinates, steps taken, chunks explored, and seed.
* No timer—explore endlessly in any direction.
* Use "New Maze" to generate a completely new world instantly.

🛠️ How It Works

* Seeded RNG (mulberry32) ensures deterministic chunk generation
* Recursive backtracker builds each chunk; boundary hashes align adjacent chunks
* Chunks beyond KEEP_RADIUS are unloaded to manage memory

📈 Tips

* Plan your route—dead ends are part of the challenge
* Watch the chunk count grow as you venture further
* Try to reach distant coordinates or maximize explored chunks

🚀 What's Coming Next

* Enemies, collectibles, and portals for richer gameplay
* Fog of war to reveal the maze as you explore
* More maze sizes and difficulty options
* Leaderboards and shared maze seeds
* Maze Builder integration for custom layouts

Infinite Maze is part of the Maze World collection on Game Anything—online-first gameplay with endless variety.