Open source game engine, UX and frameworks for building digital board games and card games
An open source engine, UX toolkit and framework for building digital board games and card games.
🌐 Website: https://couchpotatoes.eigen1.com
CouchPotatoes is an open source project that gives back to the community of gamers and developers who want to bring new board game and card game ideas to life. We provide the underlying game engine, user experience components and frameworks so you can spend your time on what makes your game unique, not on rebuilding turn order, card decks and lobby screens from scratch.
Building a digital tabletop game usually means solving the same problems over and over: managing game state, enforcing rules, handling turns, shuffling and dealing, syncing players, and building a UI that feels good to play. CouchPotatoes takes care of that groundwork so you can go from idea to playable prototype quickly.
CouchPotatoes is developed in the open:
| Package | Description | Status |
|---|---|---|
@couchpotatoes/engine | Game state, turns, moves, validation and seeded randomness | Early skeleton |
🚧 CouchPotatoes is in its early stages. The architecture and first components are being shaped now, which makes this a great time to get involved and influence the direction of the project.
👉 See the Roadmap and the open RFCs. Looking for a place to start? Try a good first issue.
We welcome contributions of all kinds:
Not a coder? Game design feedback, playtesting, documentation, and artwork are just as valuable.
New to the vocabulary? Start with the glossary.
Have an idea for a game or a feature? Open an issue or start a discussion. We'd love to hear what you're building.
The project site lives in this repo as a static page (index.html, no build step) and is served at https://couchpotatoes.eigen1.com.
CouchPotatoes is released under the MIT License.
Website: make 404.html honor the saved theme choice
https://github.com/eigenone/couchpotatoes-oss/issues/16
Labels: good first issue, area: website
Website: accessibility audit
https://github.com/eigenone/couchpotatoes-oss/issues/9
Labels: good first issue, help wanted, area: website
Example game: a public-domain card game as a starter template
https://github.com/eigenone/couchpotatoes-oss/issues/7
Labels: help wanted, area: framework
Design card UX components: Card, Hand, Deck, Pile
https://github.com/eigenone/couchpotatoes-oss/issues/6
Labels: help wanted, area: ux, design
Move validation and legal-move enumeration
https://github.com/eigenone/couchpotatoes-oss/issues/4
Labels: enhancement, area: engine
Seeded deterministic randomness for dice and shuffles
https://github.com/eigenone/couchpotatoes-oss/issues/3
Labels: help wanted, area: engine
RFC: Turns, phases and turn order API
https://github.com/eigenone/couchpotatoes-oss/issues/2
Labels: area: engine, design
RFC: Core game state model
https://github.com/eigenone/couchpotatoes-oss/issues/1
Labels: area: engine, design
Thanks for your interest in CouchPotatoes! We're building an open source game engine, UX toolkit and framework for digital board and card games, and we welcome contributions of every kind.
main (for example feat/deck-shuffle or fix/turn-order).You'll need Node.js 22 or newer.
npm install
npm test # run the test suite
npm run typecheck # type-check source and tests
npm run build # compile packages to dist/
The code lives in packages/. Today that's just @couchpotatoes/engine. CI runs type checks, the build and tests on every pull request.
The site at https://couchpotatoes.eigen1.com is the static index.html in this repo (no build step). To preview locally:
python3 -m http.server 8000
# then open http://localhost:8000
CouchPotatoes examples and templates feature only original game designs and public-domain classics (chess, checkers, standard-deck card games, and so on). Please don't contribute names, artwork, rules text, or other assets from existing commercial games.
By contributing, you agree that your contributions are licensed under the project's MIT License.
Everyone participating in CouchPotatoes is expected to follow our Code of Conduct.