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
npm run build
npm install reason-chess --save
...
"bs-dependencies": [
"reason-chess"
]
...
Run Example
cd example
npm install
npm start
npm run test