Author: loic
Date: Sun Jul 26 13:46:06 2009
New Revision: 6120

URL: http://svn.gna.org/viewcvs/pokersource?rev=6120&view=rev
Log:
Implementation of user created tournament with the PacketPokerCreateTourney 
packet:

           The authorized player represented by "serial",
           seeks to create a new sit-n-go tournament for the players in
           the "players" list of serials. Each player in the list will
           be registered for the new tournament.

           The fields "name", "description_short", "description_long", 
"variant",
           "betting_structure", "seats_per_game", "player_timeout", 
"currency_serial"
           and "buy_in" have the same semantics as described in the database 
schema.

           Upon success, the response will be PacketAck() for the new sit-n-go 
tournament.
           If the request is issued by a user that is not authentified, the 
response will be:
                 PacketAuthRequest()
           If at least on user cannot be registered, the response will be:
                 PacketPokerError(
                   other_type = PACKET_POKER_CREATE_TOURNEY,
                   code       = REGISTRATION_FAILED 
                   serial     = the serial of the tournament for which 
registration failed

                   Note: the list of players for which registration has failed 
is included
                   in the message. An error message will be sent to each 
players for which
                   registration failed, if they have an active session.

(task #6657)

Modified:
    trunk/poker-network/pokernetwork/pokeravatar.py
    trunk/poker-network/pokernetwork/pokerpackets.py
    trunk/poker-network/pokernetwork/pokerservice.py
    trunk/poker-network/tests/test-pokeravatar.py.in
    trunk/poker-network/tests/test-pokerservice.py.in
    trunk/poker-network/tests/test-protocol.py.in


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

Reply via email to