With two bots, status is still status: in_game, even after the game is over. Similarly, it looks like observation.player_result cannot used for that either, as the list is always empty in realtime mode.
Game returns ActionResult.YouCantControlThatUnit when trying to use units after the game is over, however is quite kludgy way to detect if the game is over, partially because it requires executing an action.
With two bots, status is still
status: in_game
, even after the game is over. Similarly, it looks likeobservation.player_result
cannot used for that either, as the list is always empty in realtime mode.Game returns
ActionResult.YouCantControlThatUnit
when trying to use units after the game is over, however is quite kludgy way to detect if the game is over, partially because it requires executing an action.