“Even the finest sword plunged into salt water will eventually rust.” ― Sun Tzu The Art of War
This is a PCI compliant (see interface spec) checkers engine that is written completely in rust. Of course all regulations and rules of chess are observed
runs in reasonable time at depth 15 however this speed can be drastically improved if I can figure out why the engine is evaluating 125x the positions it needs to.
run cargo run --release
in the root directory of the project
it is highly recomended to build with release mode
If you have trouble building for your target os try removeing mimalloc
from the Cargo.toml file and line 24 of main.rs
Head over to the (https://github.com/Recontaminated/oxidie_checkers/releases/) and grab the binary for your os.
written in response to a monster's chess engine I knew about rust and meddled with it before but never officially dug into it.
I'm learning it in 4 days to spite this other person.
you can test by running the binary then running go depth 10
.
Depth works up to 15 in reasonable time
make moves against engine with move a1b2
. positions are identical to this image
or if you want you can ask for all moves by running allmoves
then movenum {from index} {to index}
Interface for ai rival showoff coming very soon
- fix the 125x over evaluation
- move ordering?
- null move pruning