code: def check_for_end_game(self):
  		
  		gameover = False
  		for player in self.players:
  			if player.playstate in (PlayState.CONCEDED, PlayState.DISCONNECTED):
  				player.playstate = PlayState.LOSING
  			if player.playstate == PlayState.LOSING:
  				gameover = True
  
  		if gameover:
  			if self.players[0].playstate == self.players[1].playstate:
  				for player in self.players:
  					player.playstate = PlayState.TIED
  			else:
  				for player in self.players:
  					if player.playstate == PlayState.LOSING:
  						player.playstate = PlayState.LOST
  					else:
  						player.playstate = PlayState.WON
  			self.state = State.COMPLETE
  			self.manager.step(self.next_step, Step.FINAL_WRAPUP)
  			self.manager.step(self.next_step, Step.FINAL_GAMEOVER)
  			self.manager.step(self.next_step)
docs: Check if one or more player is currently losing.
  		End the game if they are.