Learn R Programming

poker (version 0.8.8)

assignToBoard: assignToBoard

Description

Deal 3 community cards.

Usage

assignToBoard(y)

Arguments

y

cards dealt as vector[2*nPlayers+3] in {1, 2, ..., 52}

Value

board : the board cards as vector[5] in {1, 2, ..., 52}

Examples

Run this code
# NOT RUN {
assignToBoard(1:23)
assignToBoard(c(1:17,24,48:52))
# }

Run the code above in your browser using DataLab