Expand description

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.

Functions

Finds the string representation of a Move and write it to a u8 pointer.
Finds the string representation of a Move and write it to a u8 pointer.
Finds the string representation of a Move.
Finds the string representation of a Move.
Finds the string representation of a Move and write it to a Write.
Finds the string representation of a Move and write it to a Write.