auto_twister: Function for running a game of Twister.

Description Usage Arguments Value Examples

View source: R/twister.R

Description

auto_twister lets you run a game of Twister with a set of players for a specified number of rounds.

Usage

1
auto_twister(.rounds = 10, .wait = 10, .players = NA, .speech = FALSE)

Arguments

.rounds

An integer value of the number of rounds to be played.

.wait

An integer value of the seconds to wait between play instructions.

.players

A character vector containing the names of all players.

.speech

A logical value indicating whether the instruction should be read aloud by the computer, currently only working under Mac OS.

Value

A sequence of console messages containing the play instruction and accompanying plots that illustrate them.

Examples

1
auto_twister(.rounds = 2, .wait = 0, .players = c("Alice", "Bob"))

juliastr/twisteR documentation built on May 20, 2019, 4:21 a.m.