#shogi #engine #string-representation #notation #moves #html #convert

no-std shogi_official_kifu

The official notation of shogi moves

3 releases

0.1.2 Jan 2, 2023
0.1.1 Jun 27, 2022
0.1.0 Jun 23, 2022

#825 in Game dev


Used in shogi-kifu-converter

MIT license

38KB
846 lines

Rust shogi crates: Official notation of moves (rlib)

crate docs Rust Version license

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