poker_validator v0.1.0 PokerValidator.Hand
Hand is used for saving a qualification, a hand contains:
value
- atom with the name of the hand. the available values are: …-:royal_straight_flush
…-:straight_flush
…-:poker
…-:full_house
…-:flush
…-:straight
…-:set
…-:two_pairs
…-:pair
…-:high_card
score
- integer with the given score, this score can be used for compare handscards
- chosen cards for the handhighs
- contains the values used for qualifying the handsuit
- only used for flush hands
Summary
Functions
Gets a hand with its score