Skip to contents

cat_move() prints a plaintext diagram of a single move to the terminal. cat_game() prints a plaintext "animation" of every move to the terminal.

Usage

cat_move(game, move = NULL, ...)

cat_game(game, ..., fps = 1)

Arguments

game

A list containing a parsed ppn game (as parsed by read_ppn())

move

Which move to cat game state (after the move, will use game$dfs[[move]]) unless NULL in which case will print the game state after the last move.

...

Passed to ppcli::cat_piece().

fps

Frames per second.