#chess #traits #pgn #notation #variant #portable #annotated

pgn-traits

Traits for chess variations that can be annotated with Portable Game Notation

9 unstable releases

0.5.0 Jan 14, 2024
0.4.1 Sep 10, 2022
0.3.0 Mar 7, 2022
0.2.2 Mar 5, 2021
0.1.0 Jul 3, 2019

#184 in Value formatting

MIT license

10KB
102 lines

Traits for games that can be annotated with Portable Game Notation. The notation is designed for chess, but has been extended for many chess variants and chess-like games. These traits can be used to abstract over all game variations when writing pgn tools.


lib.rs:

Data types for text representations of game positions and moves, which may be used for Portable game notation.

The terminology used in this module is specific to chess and chess variants, but it can be implemented for any game.

Dependencies

~10KB