Commit graph

4 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
de333d0940 Made private fields actually private
git-svn-id: file:///srv/svn/euler@7 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-31 14:06:26 +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