robolson / ruby-poker

Ruby library for comparing poker hands and determining the winner.

ruby-poker / CHANGELOG
2276c257 » robolson 2009-06-21 Rescind my decision to add ... 1 2009-06-21 (0.3.2)
2596a4d9 » robolson 2009-06-21 Bug [#26276] improper two_p... 2 * Bug [#26276] improper two_pair? behavior. Applied patch by Uro.
bcc1291a » robolson 2009-05-21 natural_value method for Cards 3 * Changed protected methods in PokerHand to private
4 * Added natural_value method to Card
5
922cb3d1 » robolson 2009-01-24 * Fixed [#23623] undefined ... 6 2009-01-24 (0.3.1)
7 * Bug [#23623] undefined method <=> for nil:NilClass
8
d847ed3c » robolson 2008-12-30 * Fixed bug (#20407) Raise ... 9 2008-12-30 (0.3.1)
922cb3d1 » robolson 2009-01-24 * Fixed [#23623] undefined ... 10 * Bug (#20407) Raise an exception when creating a new hand with duplicates
d847ed3c » robolson 2008-12-30 * Fixed bug (#20407) Raise ... 11 * Added PokerHand#uniq method
12 * Removed deprecated `Gem::manage_gems` from Rakefile
922cb3d1 » robolson 2009-01-24 * Fixed [#23623] undefined ... 13
cababcf7 » robolson 2008-05-22 Progress towards 0.3.0 rele... 14 2008-05-17 (0.3.0)
d239b630 » robolson 2008-05-22 [#20195] Allows the same ca... 15 * Changed Card#== to compare based on card suit and face value. Before it only compared the face value of two cards. Warning: This change may potentially break your program if you were comparing Card objects directly.
97dc675a » robolson 2008-05-17 Replaced PokerHand#arranged... 16 * Replaced `PokerHand#arranged_hand` with `PokerHand#sort_using_rank` which is more descriptive. This loosely corresponds to bug #20194.
d239b630 » robolson 2008-05-22 [#20195] Allows the same ca... 17 * Bug [#20196] 'rank' goes into an infinite loop.
18 * Bug [#20195] Allows the same card to be entered into the hand.
9a3be504 » robolson 2008-05-26 [#20344] sort_using_rank do... 19 * Bug [#20344] sort_using_rank does not return expected results
97dc675a » robolson 2008-05-17 Replaced PokerHand#arranged... 20
21 2008-04-20 (0.2.4)
22 * Modernized the Rakefile
23 * Updated to be compatible with Ruby 1.9
24
25 2008-04-06 (0.2.2)
26 * Fixed bug where two hands that had the same values but different suits returned not equal
27
28 2008-02-08 (0.2.1)
29 * Cards can be added to a hand after it is created by using (<<) on a PokerHand
30 * Cards can be deleted from a hand with PokerHand.delete()
31
ccb63084 » robolson 2008-01-21 0.2.0 checkin. Added unit t... 32 2008-01-21 (0.2.0)
2e9fb8dd » robolson 2008-01-20 Merging Patrick Hurley bran... 33 * Merged Patrick Hurley's poker solver
34 * Added support for hands with >5 cards
ccb63084 » robolson 2008-01-21 0.2.0 checkin. Added unit t... 35 * Straights with a low Ace count now
36 * to_s on a PokerHand now includes the rank after the card list
97dc675a » robolson 2008-05-17 Replaced PokerHand#arranged... 37 * Finally wrote the Unit Tests suite
38
39 2008-01-12 (0.1.2)
40 * Fixed critical bug that was stopping the whole program to not work
41 * Added some test cases as a result
42 * More test cases coming soon
43
44 2008-01-12 (0.1.1)
45 * Ranks are now a class.
46 * Extracted card, rank, and arrays methods to individual files
47 * Added gem packaging
48
49 2008-01-10 (0.1.0)
50 * Initial version