Comment 4 for bug 576347

Revision history for this message
Timowi (timo-wingender) wrote : Re: win condition sends a message only

Which data is needed depends on the wind condition. For defeat all I need only win/lost for every player. For collectors I need the points I think.

So I add two function to Game: player_lost and player_won. Lua calls the with player number and points (Should be enough I think). I can track the player states in class Game than and if all player have a state (won/lost/leaved) I transmit the statistics to the server.

Did I get this right? I think that all I need from lua for now.