Claude Fable 5 Mirror Game — Development skill for Claude Code
A browser-native mini game engine and playable reflection-puzzle demo.
How to install Claude Fable 5 Mirror Game
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open leonvanzyl/claude-fable-5-mirror-game and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Fable 5 Mirror Game does
A browser-native mini game engine and playable reflection-puzzle demo,
Alternatives in Development
- CORS — Scan an endpoint for CORS misconfiguration — arbitrary-origin reflection, null-origin trust, credential exposu 4.5k ★
- Godogen — From Prompt To Playable Game — Godogen — From Prompt to Playable Game skill 2.8k ★
- Codex Prompt Handgepflegte Mega Und Mini Prompts — Codex-Prompt — Handgepflegte Mega- und Mini-Prompts fuer alle Plugins 1.5k ★
README
MirrorForge
A browser-native mini game engine and playable reflection-puzzle demo, rendered with **full-scene compute-shader ray tracing in WGSL** (WebGPU). No runtime dependencies — the math library, renderer, scene system, input, gameplay, and tooling are all built here.
A dim reflective chamber. A beam fires from an emitter and stops on a wall. Click the mirrors, rotate them, and guide the beam to the dark receiver. When it lands: light floods the disc, the beam turns green — solved.
Running
npm install # dev deps only: typescript, vite, vitest, @playwright/test, @webgpu/types
npx playwright install chromium
npm run dev # vite dev server (http://localhost:5173)
npm run build # production build
npm run preview # serve the build (http://localhost:4173)
npm test # vitest unit suites (math, intersect, beam, picking, …)
npm run e2e # playwright e2e (builds + serves automatically)
npm run verify # tsc --noEmit && vitest run && playwright test ← the gate
**Note:** the e2e suite builds and serves on port **4173** with `reuseExistingServer: false` (a stale server must never serve an old build). If a leftover `vite preview` holds that port, the e2e leg fails with a port-in-use error — close it first.
Requires a WebGPU-capable browser (latest Chrome/Edge). Unsupported browsers get a screen explaining exactly why.
Controls
| Input | Action |
|---|---|
| drag | orbit the camera |
| wheel | zoom |
| click a mirror | select it (pulsing tint) |
drag on the selected mirror / Q,E |
rotate it (the beam updates live) |
R / reset button |
reset the puzzle |
` (backtick) |
engineer's overlay: fps, accumulation, render modes, presets |
Architecture (one screen)
src/
main.ts boot, wiring, RAF loop, game wiring
math/ vec3 · mat4 · quat · scalar (pure, zero imports)
core/ ray · intersect · reflect · constants
Related Skills
Cini Ustasi Godot
Çini Ustası, a 3D Iznik tile puzzle remade in Godot 4 by Claude Fable 5.1. Claude Game Arena round 2 · Çini Us
Sm64 Gba
Super Mario 64's movement and collision code on the Game Boy Advance, bit-exact with the original, plus a play
Ukiyo
Agent-native game engine in C#. Your coding agent reads and changes the running game through skills and MCP; y
Full Game
Build a complete game from idea to playable build, executing every phase end-to-end.
Phones
Make this game playable on phones, to YouGame's "Works on phones" bar
Claude Agents Gamekit
Build multi-agent game dev workflows for Unity, Godot, Web, WeChat Mini Games, and Cocos Creator with Claude C
Related Agents
Gameengine
Use for the reusable Bevy-based game engine — ECS core, rendering, assets, scene/prefab, animation, physics, a
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Reflection
Self-improvement engine. Captures learnings, updates memory files, and identifies gaps in agents and context.