shogi-kifu-converter

Crates.io docs.rs Crates.io Rust

A Rust library that defines structs compatible with json-kifu-format, containing parsers and converters for Shogi kifu (game record) for converting to and from json-kifu-format. And, it also provides conversion from JsonKifuFormat type to shogi_core's Position type.

mermaid-diagram-2022-07-31-125435

About json-kifu-format (JKF)

See github.com/na2hiro/json-kifu-format.

Examples

cargo run --example csa2jkf <CSA file> cargo run --example csa2kif <CSA file> cargo run --example kif2jkf <KIF file> cargo run --example kif2csa <KIF file> cargo run --example jkf2usi <JKF file>