Multiplayer game ending coded