Author: bkuhn
Date: Sun Aug 24 22:57:12 2008
New Revision: 4352
URL: http://svn.gna.org/viewcvs/pokersource?rev=4352&view=rev
Log:
[EMAIL PROTECTED]: bkuhn | 2008-08-24 16:56:49 -0400
Automatic kick from table when player misses too many rounds.
* Added method PokerTable.cashGame_kickPlayerSittingOutTooLong(), which
searches through history (passed as argument) to find a "finish" and
then kicks any player who has missed more than the table's
max_missed_round setting.
* Added call to above method in PokerTable.update(), as long as the
table is valid, but before the history reduction (so the finish can be
found)
* Wrote test to cover this new functionality.
Modified:
trunk/ (props changed)
trunk/poker-network/ChangeLog
trunk/poker-network/pokernetwork/pokertable.py
trunk/poker-network/tests/test-pokertable.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits