Let me give you and the developers a small tip:
1. The browsers triggers an event when someone try to close it: window.onbeforeunload
Use that to see if someone is closing the browser (you send a "userMightBeQuitting=true" signal to the server and pop up a confirm dialog to the user)
If the user clicks "No, I don't wanna close browser" , you send a signal "userMightBeQuitting=false"
If he clicks "yes, get me out of here" you might or might not be able to get a message for that client, but when the others are taken back to the lobby, the server will have a "mightWannaQuit" flag on one of them and a "innocent" flag on the others. You can use this knowledge to penalize the culprit
2. Make sure there is a visible "Quit this game button" that properly and gracefully quits the game and penalise only the one quitting
How hard can it be? If the dreaded "There has been an error with the game" sign is up in the client, then of course, when the player try to quit the game, then you send a signal "playerWillDisconnectBecauseWeAskedHimToSinceThereHasBeenAnErrorInTheGame" signal.
WGTpizza:
jgolfer1: Well said alosso.wgt is supposed to take % off in Oct......hope so
To clarify - we are not removing this feature in October. We plan on altering this feature so that Alternate Shot games are not included when factoring your percentage. This should happen early October :)
Stay classy,
-WGTpizza