Skip to content

ppgames v0.8.1

Latest
Compare
Choose a tag to compare
@trevorld trevorld released this 24 Sep 21:06

New features

  • New function save_pocketmod() which is an alternative to save_ruleset()
    that saves the ruleset as a "pocketmod" booklet (#110).

  • New function names_rulesets() lists the games we can generate rulesets for (#144).

  • save_ruleset() / save_rulebook() can now export to non-pdf formats using pandoc (#76).
    We can customize pandoc output using the new cmd_options argument, by default
    we try to pick reasonable defaults based on the file extension and whether its a book or ruleset.
    Quality varies for the various output formats but html, epub, and docx export looked "okay".

  • save_ruleset() / save_pamphlet() / save_pocketmod() support new arguments game_info, game_files,
    and save_promo_fn (#115).
    This allows users to generate rulesets using files not located within the {ppgames} package.

  • save_ruleset() / save_pamphlet() / save_pocketmod() can now embed XMP metadata including
    Creative Commons license info into pdf output (#71).
    Requires suggested package {xmpdf} and the command-line tool exiftool.

  • We now export normalize_name() which normalizes game names into a standard format
    for use in R/LaTeX variable names and for use in filenames.

  • We now export save_promo_image() which saves promo images for games.
    Default argument for the save_promo_fn argument in save_pamphlet() / save_pocketmod().

  • New starting board generators for specific games:

    • df_black_pawn_trucking()
    • df_brain_burn()
    • df_burbuja()
    • df_cardinals_guards()
    • df_change_change()
    • df_chariots()
    • df_climbing_man()
    • df_cribbage() is a new alias for df_cribbage_board()
    • df_crocodile_hop()
    • df_galaxy_express()
    • df_lab_rats()
    • df_ludo() (#119)
    • df_minishogi()
    • df_one_man_thrag()
    • df_piecepack_halma() is a new alias for df_chinese_checkers()
    • df_sarcophagus()
    • df_shopping_mall()
    • df_speedy_towers() (currently supports two players only)
    • df_steppin_stones()
    • df_the_penguin_game()
    • df_tracers()
    • df_tula() now supports argument variant and Tim Schutz's variants 1-4
  • save_ruleset() / save_pamphlet() / save_pocketmod() now supports ruleset generation for:

    • "ludo" (#119)
    • "speedy towers"
  • Improved rulesets for:

    • "chaturaji" (#128)
    • "cribbage" (#146)
    • "international chess" (#126)
    • "shogi"