gameu-rock-paper-scissors
v0.1.1
Published
A gameu game
Readme
gameu-rock-paper-scissors — gameu game
Scaffolded with gameu create.
Development
npm install
npm run build # copies SDK assets + compiles TypeScriptThen (Phase 3, coming soon):
gameu dev # local dev server with auto-driveStructure
| File | Purpose |
|---|---|
| src/reducer.ts | Pure state machine. Implement your game logic here. |
| src/renderer.ts | DOM renderer. Projects model → DOM. |
| src/game.ts | Entry: wires seams + GameRunner. |
| index.html | Loads the gameu runtime + your game module. |
| manifest.json | Game metadata (id, version, player counts). |
| CLAUDE.md | Instructions for AI coding agents (Claude Code, etc.) — patterns, anti-patterns, file layout. Read this if you're using Claude Code to develop the game. |
Learn more
- gameu SDK documentation (coming soon)
- Architecture: Reducer → pure state; Renderer → dumb projection; GameRunner → I/O loop.
- The
window.gameu.*API is the current import path forReducer/Renderer/GameRunner. A named-import API (import { Reducer } from "@jamunlabs/gameu-sdk") is planned.
