develop-board-game

Build single-file HTML board games with rule engines and Playwright tests.

4|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/npow/claude-skills --skill develop-board-game
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-board-game
Source: https://github.com/npow/claude-skills/tree/main/develop-board-game
Command: npx skills add https://github.com/npow/claude-skills --skill develop-board-game

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @playwright/test, and includes scripts (resource) components.

What problem does it solve?

This Skill turns board game, card game, and tabletop game concepts into complete, playable digital applications without requiring a framework or build system. It helps developers avoid incomplete rule implementations, inconsistent state handling, weak multiplayer behavior, and insufficient testing.

Core Features & Use Cases

  • Rules Implementation: Research and encode setup, turns, legal moves, scoring, win conditions, edge cases, and game-specific mechanics using a pure rules engine.
  • Game Application Development: Build a polished single-file HTML, CSS, and JavaScript game with lobby flows, responsive layouts, player panels, game history, and testing attributes.
  • Multiplayer and AI: Support appropriate combinations of local hot-seat, split-tab, online peer-to-peer, and AI play using host-authoritative state management and hidden-information isolation.
  • Automated Quality Assurance: Expose test APIs and use Playwright to validate initialization, legal and illegal moves, progression, game completion, multiplayer behavior, visual standards, and console errors.
  • Use Case: Give the Skill a game name and rules description to produce a faithful browser implementation with a playable UI, multiplayer architecture, automated tests, and a progress report.

Quick Start

Ask the develop-board-game skill to build a complete digital version of the specified board game as a single HTML file with accurate rules, suitable multiplayer modes, test APIs, Playwright tests, and a progress report.

Frequently Asked Questions about develop-board-game

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a digital board game with a rules engine in a single HTML file?

Digital board game development in a single HTML file uses a pure rules engine for state transitions and validated moves, producing a playable browser application with accurate rules and responsive UI.

Can I implement local and online multiplayer with hidden information in a browser game?

Multiplayer browser games can support local hot-seat, split-tab, and online play using host-authoritative state management and hidden-information isolation to ensure secure player-specific views.

How do I add an AI opponent to a digital card game?

AI opponents for digital card games are integrated directly into the game application logic, providing automated play against the rules engine without requiring external frameworks.

How do I test legal and illegal moves in a board game using Playwright?

Playwright testing for board games validates initialization, legal and illegal moves, and game completion by interacting with exposed test APIs in the single-file HTML application.

Do I need a build system or framework to create a playable tabletop game application?

Tabletop game development does not require a framework or build system, as the entire playable application is built as a polished single-file HTML, CSS, and JavaScript implementation.

What is the best way to ensure a digital board game enforces accurate rules and edge cases?

Ensuring accurate digital board game rules requires a pure rules engine that encodes setup, turns, legal moves, scoring, win conditions, and edge cases with validated state transitions.