-
Fix incorrect Low Ace check for Straight.
zolrath committedApr 2, 2012 Somehow an old, incorrect implementation stuck around. Begone!
-
Refactor, remove duplication throughout hand check
zolrath committedApr 2, 2012 Cards were being grouped by frequency in multiple methods with the same setup in every method. DRY it off!
-
value_name outputs 14 as Ace, 13 as King etc.
zolrath committedApr 2, 2012 -
Allow adding single card to deck.
zolrath committedApr 2, 2012 -
Sort so winning player is first in array.
zolrath committedApr 2, 2012 -
Change ; to then in case statement
zolrath committedApr 2, 2012 -
zolrath committed
Apr 2, 2012 -
Initial implementation of HandJudge.
zolrath committedApr 2, 2012 HandJudge can be given any number of Hand objects and display the winning hand.
-
HandReader returns a Hand object.
zolrath committedApr 2, 2012 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
-
Don't allow more than 52 cards to be dealt.
zolrath committedApr 2, 2012 To avoid having nils in a hand, don't deal more than deck.count
-
Add multiple cards by entering card name as string
zolrath committedApr 2, 2012 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.
-
Moved files to reflect project name properly.
zolrath committedApr 2, 2012 -
Moved files to reflect projects proper name.
zolrath committedApr 2, 2012
-
HandReader initial implementation.
zolrath committedMar 31, 2012 -
Basic Card/Deck implementation working.
zolrath committedMar 31, 2012