Sha256: 1d45a61ab2d3dc16be93c27eaa708abd7d5f27ed046d15960e5edd34248dd835
Contents?: true
Size: 663 Bytes
Versions: 1
Compression:
Stored size: 663 Bytes
Contents
require 'hands/version' require 'hands/card' require 'hands/hand' require 'hands/player' require 'hands/deck' require 'hands/table' # See <http://www.pagat.com/poker/rules/ranking.html> for ranking references. module Hands # All card values VALUES = %w{ 2 3 4 5 6 7 8 9 10 j q k a } # All card value descriptions VALUE_DESCRIPTIONS = %w{two three four five six seven eight nine ten jack queen king ace} # Reverse alphabetically ordered suits SUITS = [:clubs, :diamonds, :hearts, :spades] # Ranks of poker hands HAND_ORDER = [:high_card, :pair, :two_pair, :three_of_a_kind, :straight, :flush, :full_house, :four_of_a_kind, :straight_flush] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hands-0.2.0 | lib/hands.rb |