Skip to content

JavaScript game engine for creating and playing various boardgames

License

Notifications You must be signed in to change notification settings

stepney141/dagaz-v2

Repository files navigation

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

About

JavaScript game engine for creating and playing various boardgames

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published