SC2 Map Information – sc2qsr.sc2info.mapinfo

sc2qsr.sc2info.mapinfo.get_map_size(map_name: str) → tuple[source]

Get the map size. If this info hasn’t already been extracted by the agent before, a game will be started in order to get it. The information will then be pickled and further calls to this function will look for the info in the pickled file.


map_name (str) – the map name


a tuple \((x, y)\) containing the dimensions of the map

Return type