poker.git
13 years agoRemove unused cruft from combinations.py
W. Trevor King [Tue, 7 Dec 2010 18:03:01 +0000 (13:03 -0500)]
Remove unused cruft from combinations.py

13 years agoRemove empty HoleBot log files.
W. Trevor King [Tue, 7 Dec 2010 17:59:40 +0000 (12:59 -0500)]
Remove empty HoleBot log files.

13 years agoAdd .gitignore ignoring *.pyc files.
W. Trevor King [Tue, 7 Dec 2010 17:53:46 +0000 (12:53 -0500)]
Add .gitignore ignoring *.pyc files.

13 years agoAdd simple README demonstrating usage and testing.
W. Trevor King [Tue, 7 Dec 2010 17:52:06 +0000 (12:52 -0500)]
Add simple README demonstrating usage and testing.

13 years agoCleanup bot code.
W. Trevor King [Tue, 7 Dec 2010 17:51:24 +0000 (12:51 -0500)]
Cleanup bot code.

13 years agoFix folding logic in table.Player.decide().
W. Trevor King [Tue, 7 Dec 2010 17:49:29 +0000 (12:49 -0500)]
Fix folding logic in table.Player.decide().

13 years agoPrint bot stderr if a bot dies before ending.
W. Trevor King [Tue, 7 Dec 2010 17:39:50 +0000 (12:39 -0500)]
Print bot stderr if a bot dies before ending.

13 years agoCopy the player list in pbot.py so we kill all players.
W. Trevor King [Tue, 7 Dec 2010 16:49:03 +0000 (11:49 -0500)]
Copy the player list in pbot.py so we kill all players.

In the previous implementation, Table removed players from the list as
they died, so the `finally` block in pbot.py only killed the winner.

13 years agoAdd docstrings and doctests to pbot.py + Python cleanups.
W. Trevor King [Tue, 7 Dec 2010 16:43:02 +0000 (11:43 -0500)]
Add docstrings and doctests to pbot.py + Python cleanups.

Also fix a number of bugs that a fixed pbot.py turned up in deck.py
and table.py.

13 years agoAdd docstrings and doctests to table.py + Python cleanups.
W. Trevor King [Tue, 7 Dec 2010 15:57:52 +0000 (10:57 -0500)]
Add docstrings and doctests to table.py + Python cleanups.

13 years agoAdd docstrings and doctests to deck.py + Python cleanups.
W. Trevor King [Tue, 7 Dec 2010 13:26:48 +0000 (08:26 -0500)]
Add docstrings and doctests to deck.py + Python cleanups.

13 years agoAdd docstrings and doctests to combinations.py.
W. Trevor King [Mon, 6 Dec 2010 20:47:25 +0000 (15:47 -0500)]
Add docstrings and doctests to combinations.py.

13 years agoBegan versioning.
Travis Hoppe [Mon, 6 Dec 2010 20:29:39 +0000 (15:29 -0500)]
Began versioning.