Author: bkuhn
Date: Sun Aug 31 00:22:01 2008
New Revision: 4396
URL: http://svn.gna.org/viewcvs/pokersource?rev=4396&view=rev
Log:
[EMAIL PROTECTED]: bkuhn | 2008-08-30 17:15:08 -0400
Beginning of implementation of tournament hand delays. The goal of this
feature is to allow server-side-configurable delays for various points
during a tournament.
* poker.server.xml.in: Adds these settings to the <delays> tag:
extra_wait_tourney_break, extra_wait_tourney_start,
extra_wait_tourney_finish
* pokerservice.py
** In tourneyNewState, extra_wait_tourney_break and
extra_wait_tourney_start are used during the proper state
transitions, and the reactor.callLater() is used to force the
delay.
** tourneyDestroyGame renamed to tourneyDestroyGameActual, and
tourneyDestroyGame is written to also do a reactor.callLater()
based on value of extra_wait_tourney_finish.
* test-pokerservice.py.in (Incomplete)
** tests for tourneyNewState have been changed. The group of
tests that don't need a callback are pulled out, and work on
those that do need time-related callbacks are begun (at least
for tourneyResumeAndDeal).
See:
http://pokersource.info/developers/specifications/earthquake.html#%5B%5Btournament%20first%20and%20last%20hand%20delay%5D%5D
for more information on the feature being implemented here.
Modified:
trunk/ (props changed)
trunk/poker-network/ChangeLog
trunk/poker-network/conf/poker.server.xml.in
trunk/poker-network/pokernetwork/pokerservice.py
trunk/poker-network/tests/test-pokerservice.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits