Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 2, 2012
  1. Fix incorrect Low Ace check for Straight.

    authored
    Somehow an old, incorrect implementation stuck around. Begone!
  2. Refactor, remove duplication throughout hand check

    authored
    Cards were being grouped by frequency in multiple methods with the same setup
    in every method. DRY it off!
  3. Add README.

    authored
  4. Initial implementation of HandJudge.

    authored
    HandJudge can be given any number of Hand objects and display the winning
    hand.
  5. HandReader returns a Hand object.

    authored
    When HandReader reads your cards it returns a Hand object which contains:
     * Type of hand
     * Rank of hand
     * Card used to determine best hand between two of same hand.
     * Suit if flush
     * The cards that make up the hand
  6. Don't allow more than 52 cards to be dealt.

    authored
    To avoid having nils in a hand, don't deal more than deck.count
  7. Add multiple cards by entering card name as string

    authored
    You can now Deck.new.add_cards("King of Spades", "4 of Diamonds") instead of
    needing to do multiple calls to a singular add_card method.
Commits on Mar 31, 2012
Something went wrong with that request. Please try again.