full_house: test for full house

Description Usage Arguments Examples

View source: R/poker.R

Description

test for full house

Usage

1

Arguments

x

a vector of cards

Examples

1
2
3
4
5
6
7
d = build_deck()
h1 = c(d[1], d[14], d[27], d[2], d[15])
h1
full_house(h1)
h2 = c(d[1], d[14], d[27], d[2], d[16])
h2
full_house(h2)

vjcitn/play4YES documentation built on Feb. 28, 2022, 12:48 a.m.