bhand: Best poker hand

Description Usage Arguments Details Value Author(s) Examples

Description

Returns the best poker hand within a set of cards. However, the best poker hand itself is not yet implemented.

Usage

1

Arguments

cards

Details

details here..

Value

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

Author(s)

Fran Urbano <viraltux@gmail.com>

Examples

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

viraltux/casino documentation built on May 17, 2019, 2:47 p.m.