4 releases
Uses new Rust 2024
new 0.1.3 | May 4, 2025 |
---|---|
0.1.2 | May 4, 2025 |
0.1.1 | May 4, 2025 |
0.1.0 | May 4, 2025 |
#4 in #monte-carlo-tree-search
67 downloads per month
59KB
1.5K
SLoC
Checkers 🦅
Simple Checkers engine, that handles all the checkers
game logic for you, so you don't have to care.
The current implementation uses MCTS(Monte-Carlo Tree Search), in the future, this program might be extended to allow users provide their desired search heuristic algorithm
Available on npm and crates.io
To run flamegraph:
- Simply install flamegraph with cargo or check FlamegraphRs
How to Run this library:
- Simply clone this repository and cd into it
- To use the rust version directly, run:
cargo run
orcargo watch
depending on themode
- To generate the wasm build for js target, run:
a.
wasm-pack build --target bundler
for npm targets b.wasm-pack build --target web
if you're trying to reference the build directly locally nb: you'd find thebuild
in the pkg folder (root folder)
Todo:
- More robust documentation
- More tests
- Examples on how this works
Credit:
Dependencies
~0.3–1MB
~21K SLoC