#chess #notation #byte #overflow #smaller #pgn

bin+lib ascn-rs

A chess encoding similar to PGN but significantly smaller

3 releases (breaking)

0.3.0 Apr 20, 2023
0.2.0 Apr 20, 2023
0.1.0 Apr 19, 2023

#2260 in Encoding

41 downloads per month

MIT license

28KB
738 lines

ascn-rs

Assumed Standard Chess Notation is a format for encoding the entire history of a chess game in as small a space as possible in reasonable time. This algorithm stores each move in about a byte and occasionally overflows to handle edge cases. Made for the AP Computer Science Principles Create Task in 2023.

Dependencies

This project uses chess and pgn-rs

Dependencies

~1.8–9MB
~71K SLoC