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


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

#110 in Value formatting

39 downloads per month

MIT license

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.


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.