deal_to_players: Deal the flop cards to all the players

Description Usage Arguments Value

View source: R/deal_to_players.R

Description

Deal the flop cards to all the players

Usage

1
deal_to_players(n, ncards, players, deck)

Arguments

n

The number of players to deal to.

players

A list of elements from the S4 class "player"

deck

The deck from which the cards are to be dealt from.

ncard

The number of cards to deal to each player.

Value

A list containing the players, as well as a last element containing the deck.


dfcorbin/pokersim2 documentation built on Jan. 15, 2020, 12:20 a.m.