Package 'piecenikr'

Title: Looney Pyramid Graphics
Description: Functions and objects to make Looney Pyramids graphics.
Authors: Trevor L Davis [aut, cre]
Maintainer: Trevor L Davis <[email protected]>
License: CC BY-SA 4.0
Version: 0.1.4-8
Built: 2024-11-03 05:06:36 UTC
Source: https://github.com/piecepackr/piecenikr

Help Index


Data frames of starting diagrams for various games

Description

tibble data frames of starting diagrams for various games.

Usage

df_martian_chess(n_players = 2, seed = NULL)

Arguments

n_players

Number of players

seed

Random seed

Details

Here is some more information about the various games:

Martian Chess

An abstract by Andrew Looney. See https://www.looneylabs.com/rules/martian-chess.


Configuration objects for drawing Looney Pyramids

Description

looney_pyramids provides a basic configuration object for drawing Looney Pyramids.

Usage

looney_pyramids()

Details

Looney Pyramids aka Icehouse pieces is a game system invented by Andrew Looney. See https://www.looneylabs.com/looney-pyramids.

Value

Returns a list with an icehouse_pieces configuration for drawing Looney Pyramids.


Basic grob function for Looney Pyramids

Description

looneyPyramidGrob provides a basic grob function for the sides Looney Pyramids.

Usage

looneyPyramidGrob(piece_side, suit, rank, cfg = pp_cfg())

Arguments

piece_side

Piece side of the piece

suit

Suit of the piece

rank

Rank of the piece

cfg

Piecepackr configuration object