Skip to contents

ppdf 0.2.1

Breaking changes

  • The default for chess_board()’s cell_width argument is now 1 instead of NULL. This makes it consistent with the default for checker_board()’s cell_width argument.

Deprecated features

New features

Bug fixes and minor improvements

  • checker_board() and chess_board() gain a side argument.
  • normalize_name() now removes the first "Checkers ", "Chess ", "Domino ", "Icehouse ", "Piecepack ", or "Stackpack " (if any) from name e.g. it will now normalize “Piecepack Klondike” / “Klondike” and “Domino Patience” / “Patience” to the same name.
  • Data frame functions now consistently return all the columns “piece_side”, “suit”, “rank”, “cfg”, “x”, “y”, and “angle” (in that order) with the types “character”, “integer”, “integer”, “character”, “double”, “double”, “double” (respectively) without any missing values.
  • “black” checker men are now the “black” suit and “white” checker men are the “white” suit so PPN logic is simpler. If you want to visualize with white and red pieces mutate your checker data frames to swap black with red pieces (#56).
  • piecepack_julgonu() suit colors swapped places to give better checkers results.
  • checker_dao() suit colors swapped to better match the original setups.
  • Default checker cell widths can now be set by the ppdf.checker_cell_width option.
  • Default chess cell widths can now be set by the ppdf.chess_cell_width option.
  • If the setup function for a given game doesn’t exist for the target system then setup_by_name() now falls back on a piecepack setup if it exists (#43).

ppdf 0.1.1