Author: loic
Date: Tue Dec  9 12:48:25 2008
New Revision: 5218

URL: http://svn.gna.org/viewcvs/pokersource?rev=5218&view=rev
Log:
loadPayouts creates prizes_object with a player_count depending on tie sit_n_go 
/ regular state of the tournament and adds the guarantee_amount = prize_min 
argument to the constructor.
When a tournament goes from TOURNAMENT_STATE_REGISTERING to 
TOURNAMENT_STATE_CANCELED, set can_register to false.
In register and unregister, update the player count and clear the rank2prize 
cache if a sit_n_go tournament.
In prizes, do not return None if not in registering mode.
Use pokerprizes.__dict__['xx'] instead of obsoleted factory.

Modified:
    trunk/poker-engine/pokerengine/pokertournament.py


_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits

Reply via email to