Skip to content

ppn 0.2.1

Latest

Choose a tag to compare

@trevorld trevorld released this 08 May 21:23
· 9 commits to main since this release

Deprecated features

  • Custom movetext parsers should now be of the form name_parser()
    instead of parser_name().

New features

  • We now export (and document their arguments) the following movetext parsers:

    • alquerque_parser()
    • default_parser()
    • checker_parser()
    • chess_parser()
    • domino_parser()
    • go_parser()
    • marble_parser()
    • morris_parser()
    • tarot_parser()

Bug fixes and minor improvements

  • The following tweaks to PPN:

    • If a PieceSpec is missing Piece and 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 1L aka the "red" suit).