Module: Hands
- Defined in:
- lib/hands.rb,
lib/hands/card.rb,
lib/hands/hand.rb,
lib/hands/version.rb
Overview
See http://www.pagat.com/poker/rules/ranking.html for ranking references.
Defined Under Namespace
Constant Summary
- VALUES =
All card values
%w{ 2 3 4 5 6 7 8 9 10 j q k a }
- VALUE_DESCRIPTIONS =
All card value descriptions
%w{ two three four five six seven eight nine ten jack queen king ace }
- SUITES =
Reverse alphabetically ordered suites
%w{ clubs diamonds hearts spades }
- HAND_ORDER =
Ranks of poker hands
%w{ high_card pair two_pair three_of_a_kind straight flush full_house four_of_a_kind straight_flush }
- VERSION =
Gem version
'0.0.2'