This is an OCaml library for Chess gaming.
It's in development.
- Algebraic notations to read and write. It doesn't evaluate movement logic.
$ dune exec examples/read_notation.exe
Please input algebraic notation and then press enter:
dxc3e.p.
Piece | Move from | Capture | Move to | Promotion | En passant | Check/Mate
Pawn | d | yes | c3 | | yes |
$ dune runtest
Docs (requires odoc package)
$ dune build @doc
$ open _build/default/_doc/_html/index.html
$ dune build