01
It starts by itself
you build a mechanic. Runs in Claude Code routine.
- ↻ you build a mechanic
run threejs-gameplay-systems on demand
A game loop you can play.
Install the Three.js Gameplay Systems skill and make it a habit: follow https://gethabit.dev/skills/majidmanzarpour/threejs-gameplay-systems.md
3K installs3K starsMIT licenceSource on GitHub ↗

Three.js Gameplay Systems
by majidmanzarpour · 3K installs
The skill
The three.js gameplay systems skill builds playable browser game loops: a Vite and TypeScript starter, design briefs, core loops, levels, input, camera, physics, scoring and game feel.
Only when you ask.
The habit
A game loop you can play.
↻ Runs by itselfyou build a mechanic
When does it start? How does it check its work? What does it remember?
Stops after one mechanic or encounter per run, with at most 2 fix retries.
For a new game your agent runs create_threejs_game.py to copy the Vite and TypeScript starter.
It writes or updates the design brief, core loop contract and level or encounter plan.
It reviews the existing loop, input, camera, entities, state and UI before changing anything.
It adds input, state, entities, collision, feedback and HUD hooks so the game stays playable at each step.
It tunes movement, camera, impact feedback and difficulty using references/game-feel.md.
It reports behavior, controls, tuned values, changed files and what it saw when playing.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Three.js Gameplay Systems skill helps.
The skill needs decisions, pressure, feedback and consequence first, so the result is a game and not just a scene.
Gameplay code emits audio events; the threejs-audio-generator skill makes the actual assets.
Copy the prompt at the top into your agent. It installs the skill from majidmanzarpour/threejs-game-skills and sets up the habit. Or run npx skills add majidmanzarpour/threejs-game-skills --skill threejs-gameplay-systems.
Yes. It is published under MIT. Habit is free too.
Install the Three.js Gameplay Systems skill and make it a habit: follow https://gethabit.dev/skills/majidmanzarpour/threejs-gameplay-systems.md
All majidmanzarpour skills →More code skills →
Works in
Made by majidmanzarpour, published under MIT. Habit links to the original and never changes it. Is this your skill?