Fixed crash on exiting. Added playerId field in Game class