v1.0.1
Connect over polling first so the game still works when a proxy drops the websocket upgrade. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two Keys 🔑🔑
Co-op mystery games for couples. Two players, different clues, every lock needs both of you.
Hand this to Claude Code
- Unzip this folder and open it in your terminal (or WebStorm's terminal).
- Run
claude. - Paste this as your first prompt:
Read CLAUDE.md and GAMES.md fully, then every file in content/games/. Build phase 1 from §11 and stop so I can review. Don't change any YAML puzzle content without asking me.
- After each phase, review, run
npm testandnpm run validate-content, then say "next phase".
What's in here
| File | What it is |
|---|---|
CLAUDE.md |
Full build spec: stack, architecture, security, engines, socket events, design, phases |
GAMES.md |
Spoiler guide with every answer (don't let your partner read this 👀) |
content/games/*.yaml |
All 8 games: 3 murder mysteries, 2 escape rooms, defuse, In Sync, labyrinth |
package.json |
Root workspace config |
Adding a new game later
Copy a YAML in content/games/, change the id to match the filename, write your chapters,
and run npm run validate-content. No code changes needed for new story games.
Deploying
See DEPLOYMENT.md for running it under pm2 and publishing it through frp.
Languages
TypeScript
98.4%
CSS
1%
JavaScript
0.4%
HTML
0.2%