# The Labyrinth for Raycast

URL: https://www.raycast.com/luarmr/the-labyrinth

> Play an endless maze game: collect keys and gems, dodge ghosts and warp through portals in random labyrinth levels.

- Install: raycast://extensions/luarmr/the-labyrinth
- Author: [Raúl Martín](https://www.raycast.com/luarmr)
- Installs: 52
- Platforms: Windows, macOS
- Categories: Fun
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/c4e0f79975a011e16032382f2d1263f712f8b43c/extensions/the-labyrinth/

## Commands

- **Play the Labyrinth**: Escape level after level of randomly generated mazes: unlock doors with keys, collect gems, dodge the ghost, and survive the fog.

## README

### The Labyrinth

Descend through endless procedurally generated maze levels without leaving Raycast. Every level is rendered as an SVG, and new hazards unlock the deeper you go.

#### How to Play

Run **Play the Labyrinth** and press ⏎ to start. Move with **⌘ + Arrow Keys** (**Ctrl + Arrow Keys** on Windows) and reach the green exit.

- 🔑 **Key** — from Level 2 the exit is locked until you find the key.
- 💎 **Gems** — optional pickups worth points.
- 👻 **Ghost** — roams the maze and chases you. Getting caught sends you back to the start and costs points.
- 🌀 **Portals** — step on one to warp to the other.
- 🌑 **Fog** — the maze is dark until you reach the 🕯️ candle.
- 🧊 **Ice** — you slide until you hit a wall, a portal, or the exit.
- 🧱 **Shifting walls** — the layout changes every few moves.
- 🐾 **Fading footprints** — from Level 5 your trail wears away after a number of moves, and it shrinks to just a few steps on the deepest levels.

Your run is saved automatically, so you can pick up where you left off. Use **Restart Level**, **New Run**, or **Reset All Progress** from the action panel (⌘K, or Ctrl+K on Windows) at any time, and toggle the stats sidebar with ⌘D (Ctrl+D on Windows).

#### Custom Labyrinth

A sandbox command that lets you pick a level size (1–99), any combination of modifiers, and whether footprints are permanent, fading, or off. It is disabled by default: open Raycast Settings → Extensions → The Labyrinth, enable **Custom Labyrinth**, then configure the level and modifiers in the command's preferences.
