Skip to content

cmavelis/zug

Repository files navigation

zug

Testing flags

  • ?player=3 (or greater) to control both players, turn off rules
  • ?empty=1 (anything truthy) to start with empty board

Project Setup

npm install

Compile and Hot-Reload for Development (using in-memory server)

npm run dev

Develop using local server

npm run build && npm run server:dev

Run Unit Tests with Vitest

npm run test:unit

Run in prod

npm start

Lint with ESLint

npm run lint