fixed game_end sample gadget
now it handles players quitting and resigning properly ( it declares gameover if all enemies are either dead, quit, or resigned )
reacts more promptly
has cleaner code
added an option whenever to check for players quitted or not for gameover, to be used with 1v1 to let players rejoin freely