A 6 Nimmt!-like card game: a TypeScript game engine plus web viewers, built for the boardgamers.space platform.
pnpm install
pnpm --filter take6-viewer-3d devThen open the printed URL (default http://localhost:5203). You'll get a local game against five AI opponents — no server needed.
Useful query params while testing: ?players=3 changes the number of players (default 6), and ?points=2&handSize=2 shortens the game so you can reach the end screen quickly.
| Package | Path | Status |
|---|---|---|
take6-engine |
engine/ |
Active — the game logic |
take6-viewer-3d |
viewer-3d/ |
Active — the 3D viewer |
take6-viewer |
viewer/ |
Archived — canvas (Hex Engine) viewer |
@gaia-project/take6-viewer |
viewer-svg/ |
Archived — Vue 2 SVG viewer |
The full game logic: setup, moves, AI moves, state serialization (stripSecret), state reconstruction, and scoring, plus a mocha/chai test suite. Published as an ES module (TypeScript 5, NodeNext).
It also exports wrapper.ts, the boardgamers.space contract (init / move / moveAI / logSlice / stripSecret / …).
The current viewer. Built with three.js and bundled with Vite. See its README for details.
viewer/ (Hex Engine canvas) and viewer-svg/ (Vue 2) are kept for reference but are no longer maintained. They predate this monorepo and their docs still reference the old standalone repositories and yarn tooling. Prefer viewer-3d/ for anything new.
This repo uses pnpm workspaces.
pnpm install # install all workspace dependencies
pnpm build # build every package that defines a build script
pnpm test # run the engine's test suitePer-package scripts use pnpm's --filter:
pnpm --filter take6-engine test
pnpm --filter take6-viewer-3d checkMIT (see LICENSE).
