Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.63 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.63 KB

Dagaz v2

MIT_License GitHub package.json version Tests with Jest

The next version of Dagaz Project, a general boardgame creating/playing engine using Javascript.

This is just an alpha version and still a work in progeress. We always welcome any suggestions or contributions that improve the quality of our projects!

TypeDoc Documents: https://stepney141.github.io/dagaz-v2/

Features

  • Game state management
  • Game rules representation with embedded DSL
  • Fully TypeScripted

Roadmaps

  • GUI (Vanilla JS, HTML Canvas, and React)
  • more universal DSL
  • AI player
  • Supporting non-square shaped boards
  • Useful documents
  • Supporting the pvp server project

Setting up the dev environment

$ git clone https://github.com/stepney141/dagaz-new
$ cd dagaz-new
$ npm install

Testing

Unit tests

Unit tests with Jest test suite are available.

$ npm run test

Perft

$ npm run exec benchmark/perft/chess.perft.ts
$ npm run exec benchmark/perft/english-checkers.perft.ts
$ npm run exec benchmark/perft/international-checkers.perft.ts
$ npm run exec benchmark/perft/russian-checkers.perft.ts