develop-board-game
Develop Board Game
Build a faithful digital board game as a single HTML file. Accurate rules, multiplayer support, polished visuals.
Workflow
-
Research rules — understand EVERY rule before coding. List them in a comment block at the top of the HTML file. Do not start coding until you can explain every rule. See step details in WORKFLOW.md.
-
Choose multiplayer modes — use the decision tree in MULTIPLAYER.md. Every game gets a lobby screen.
-
Define game state — single JSON-serializable source of truth. See state model in ARCHITECTURE.md.
-
Implement rules engine — pure functions:
getValidMoves,applyMove,checkWinCondition,getNextPlayer,getPlayerView. See patterns in ARCHITECTURE.md. -
Build lobby UI — mode selection, player config, online room code flow. See WORKFLOW.md.
-
Build game UI — board, player panel, game log, status bar, controls. Follow the visual standards in VISUAL.md. Do not use vague aesthetics — follow the concrete CSS system.
-
Implement turn management — mode-specific behavior (hot-seat transitions, host-authoritative networking, AI delay). See MULTIPLAYER.md.