3 releases
0.1.2 | Jan 2, 2023 |
---|---|
0.1.1 | Jun 27, 2022 |
0.1.0 | Jun 23, 2022 |
#863 in Game dev
50 downloads per month
Used in shogi-kifu-converter
38KB
846 lines
Rust shogi crates: Official notation of moves (rlib
)
This crate provides functions that convert moves into string representations described in https://www.shogi.or.jp/faq/kihuhyouki.html.
Notations
Official notation
Examples: ▲28飛成
(A rook moves to 2h, after which it promotes)
飛
means a rook, and 成
means promotion.
Traditional notation
Examples: ▲2八飛成
(八
is a Chinese character that represents "8".)
Available features
std
:std
-related functionalities are made available. Enabled by default.kansuji
: Functions that emit strings in traditional notation are available. Enabled by default.
Dependencies
~230KB