Author: bkuhn
Date: Mon Feb 9 22:59:42 2009
New Revision: 5503
URL: http://svn.gna.org/viewcvs/pokersource?rev=5503&view=rev
Log:
Merging in from r5495 of imbalance-tourney-table-start branch:
The primary change here adds a call in poker-engine's
PokerTournament.createGames() to PokerTournament.balanceGames(). This
is done *before* the PokerTournament.callback_game_filled() is called to
prevent players' client applications from being told by PokerService
that they have a table assignment, only to be moved immediately.
Test coverage has been rewritten for pokerengine.PokerTournament because
some of the tests relied on imbalanced tables coming out of createGames().
A single test has been added to poker-network that makes sure tables are
reasonably balanced at the start of a tournament.
Added:
trunk/poker-network/tests/test-tourneytablebalance.py.in
Modified:
trunk/.gitignore
trunk/poker-engine/ChangeLog
trunk/poker-engine/pokerengine/pokertournament.py
trunk/poker-engine/tests/test-pokertournament.py.in
trunk/poker-engine/tests/tournament.py.in
trunk/poker-network/ChangeLog
trunk/poker-network/configure.ac
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits