1.0.7 • Published 6 years ago

reason-chess v1.0.7

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

reason-chess

Build

Build Status

reason-chess is a chess engine for ReasonML. Use it for game development, chess analysis tools, etc in the browser, nodejs, native or in the mobile application. Engine features include:

  • minimax algorithm with variable depth tree evaluation
  • alphabeta pruning for faster evaluation
  • hints for possible moves
  • switching sides
  • full move history
  • full capture history
  • time travel and undo
  • almost 100% unit test converage

Browse Example source or try it in the browser

example gameplay

chess-gameplay

build locally

npm run build

Install

npm install reason-chess --save

Update bsconfig.json

...
"bs-dependencies": [
    "reason-chess"
]
...

Run Example

cd example
npm install
npm start

Run Tests

npm run test
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago