dotTestDealer: dotTestDealer

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Assume player 1 already has cards. For remaining players, generate Player+Community cards = 2x(nPlayers-1)+5 cards.

Usage

1
dotTestDealer(nPlayers, position, holeCards)

Arguments

nPlayers

number of hands to deal as integer in {2, ... , 9}

position

dealer position as integer in {2, ..., nPlayers}

holeCards

the hand of player 1 as vector[2] in {1, 2, ..., 52}

Value

y : cards dealt in hole as vector[nCards] in {1, 2, ..., 52}

Examples

1
2
3
dotTestDealer(9,9,c(1,52))
dotTestDealer(9,5,c(1,52))
dotTestDealer(5,2,c(3,42))

poker documentation built on Aug. 9, 2017, 9:03 a.m.