74 concise, self-explanatory modules across coordinate frames, actor motion, camera rigs, gameplay state, and world building — for coding agents to compose, adapt, and generalize from, instead of deriving fragile 3D behavior from scratch.
Natural language is a weak interface for precise 3D behavior. Prompts compress spatial transforms into tokens, and small ambiguities cause inverted directions, unstable motion, or state that no longer matches the screen.
GameBox turns fragile 3D and gameplay patterns into inspectable implementations with clear semantics. Instead of deriving behavior from scratch, agents generalize from these blocks to build spatially accurate 3D games.
Zero dependencies. Plain JS data structures that run straight in the browser.
Depends only on three.js — load it and render.
Needs three, plus a Rapier physics world injected at runtime.
Browse by capability. Every module is tagged with its dependency tier and relative path.
GameBox is source material, not a framework to install — copy the modules you need into your project, preserving the relative directory structure.
Use modules/math/WorldBasis.js as the single source of truth for gameplay-space coordinates: forward/right/up axes, planar movement, heading, and control transforms.
Browse the catalog and prioritize existing modules whenever possible — especially motion controllers and camera rigs.
Copy selected modules preserving their relative directory structure so imports keep working. Reuse as-is if they fit; adapt in place if partial — don't rewrite from scratch.
Create gamebox_usage.md listing the selected modules, their purpose, reuse/adaptation status, key changes, and integration.
Copy gamebox into your coding agent's skills folder so it's discovered automatically when a task involves browser-based 3D game development.
git clone https://github.com/shushuitie2017/GameBoxmkdir -p ~/.codex/skills/gamebox && cp -R gamebox/. ~/.codex/skills/gamebox/In the Codex chatbox type /gamebox or $gamebox, or let it load automatically when the task matches.
git clone https://github.com/shushuitie2017/GameBoxmkdir -p ~/.claude/skills/gamebox && cp -R gamebox/. ~/.claude/skills/gamebox/In the Claude Code chatbox type /gamebox, or let it load automatically when the task matches.
Scan the QR code to join the GameBox open-source community.

The WeChat group QR code expires periodically. If it no longer works, leave a note in GitHub Issues to get the latest invite.