Changelog
Source:NEWS.md
ppn 0.2.1
Deprecated features
- Custom movetext parsers should now be of the form
name_parser()instead ofparser_name().
Bug fixes and minor improvements
-
The following tweaks to PPN:
- If a
PieceSpecis missingPieceand is a colored suit and it’s side is not l, r, or x then it is now assumed to be a “bit” (instead of a “tile”). - If a “marbles” “bit” is missing its rank assume that its rank is
9L(i.e. 1” marble when visualized by piecepackr). - The Unicode symbols for checker kings (i.e. ⛁ and ⛃) are now interpreted as checker bits face up (instead as not being interpreted as checker pieces at all).
- Now handles the Unicode symbols for rotated chess pieces.
- Now handles the Unicode symbols for “neutral” chess pieces (assigns to the suit
1Laka the “red” suit).
- If a
ppn 0.1.1
Functions for reading/writing Portable Piecepack Notation (PPN) files:
-
read_ppn()parses Portable Piecepack Notation (PPN) files. -
write_ppn()writes Portable Piecepack Notation files.
Functions for visualizing moves in a parsed game:
-
plot_move()visualizes moves in a parsed game viapiecepackr::render_piece(). -
animate_game()visualizes moves in a parsed game viapiecepackr::animate_game(). -
cat_move()andcat_game()visualizes moves in a parsed game viappcli::cat_piece().
Interactive PPN viewers:
-
view_game()provides interactive PPN viewers with a choice of a shiny app and a cli command-line interface.