Commit graph

7 commits

Author SHA1 Message Date
628861e107 Path reorganization
git-svn-id: file:///srv/svn/euler@17 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:52:57 +00:00
fc89b6e2c7 Smarter hand detection for all but straights. Falls back to brute
forcing for high card and straights for now.


git-svn-id: file:///srv/svn/euler@11 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-03-31 21:41:52 +00:00
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