Description Usage Arguments Details Value Author(s) Examples
Returns the best poker hand within a set of cards. However, the best poker hand itself is not yet implemented.
1 | poker.strongest(cards)
|
cards |
details here..
hand: Object of class 'hand' containing information about the best hand found withing the set of cards. class hand has four attributes: name : Best hand name level: Number indicating how the hand levels among other hands high : Number indicating how high is the hand within its category score: Number that allow to compare two hands level*100 + high
Fran Urbano <viraltux@gmail.com>
1 2 3 4 5 6 | #Three of a kind quiza
cards = c("2D","JD","4S","AC","AS","AH","KS")
bh <- poker.strongest(cards)
names(bh)
bh
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.