Commit graph

5 commits

Author SHA1 Message Date
b882ba3c8d Updated class comparisons to use the magic __cmp__ method. Fixed ace low
straight values. Fixed broken comparison tests.


git-svn-id: file:///srv/svn/euler@9 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-31 20:14:47 +00:00
df93303499 Modified the class to accept more than 5 cards. Currently brute-forces
to find the best possible hand.


git-svn-id: file:///srv/svn/euler@8 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-31 19:48:53 +00:00
dd7bda3d51 Split the poker classes into their own library
git-svn-id: file:///srv/svn/euler@5 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-31 13:54:35 +00:00
e7ab66cbd7 Added some five card hand tests
git-svn-id: file:///srv/svn/euler@3 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-30 17:30:38 +00:00
b4e349239b Adding unit testing for the poker app
git-svn-id: file:///srv/svn/euler@2 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-30 16:03:41 +00:00