Socket
Socket
Sign inDemoInstall

reason-chess

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    reason-chess

chess engine for reasonml


Version published
Maintainers
1
Install size
1.80 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 30 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc