take_bets: Title

Description Usage Arguments Value

View source: R/take_bets.R

Description

Title

Usage

1
take_bets(players, start, pot, skip, preflop = TRUE, human = TRUE)

Arguments

players

A list of elements from the S4 class "player".

start

The index of the player who is due to act first.

pot

A numeric value represting the size of the pot.

skip

A logical vector representing which players have folded.

preflop

A logical value which is true if it is the preflop round of betting.

human

A logical value which takes the value TRUE if the actions are to be inputted in the console.

Value

A named list containing the players, pot and the skip vector.


dfcorbin/pokersim documentation built on Nov. 13, 2019, 4:21 p.m.