#shogi #engine #table #checking #lite #moves #legality

no-std shogi_legality_lite

Legality checking in shogi without tables

3 releases

0.1.2 Aug 5, 2022
0.1.1 Jun 27, 2022
0.1.0 Jun 6, 2022

#1241 in Game dev


Used in 2 crates

MIT license

66KB
1.5K SLoC

Rust shogi crates: Legality Checker (lite version) (rlib)

crate docs Rust Version license

This crate handles legality checking of moves in shogi.

Functions in this crate use no constant tables. This crate is no_std-aware, which means this crate is useful in embedded systems as well as ordinary applications.

Benchmark results are available at https://rust-shogi-crates.github.io/shogi_legality_lite/dev/bench/.

Available features

  • alloc: alloc-related functionalities are made available. Enabled by default.
  • std: std-related functionalities are made available. Implies alloc. Enabled by default.

Dependencies

~165KB