Questions tagged [starcraftgym]

Questions concerning the starcraft gym. Starcraft II is a real-time strategy game. PySC2, the DeepMind python library opened it up to Reinforcement Learning within the starcraftgym. This is a great place to start for running minigames, and using machine learning techniques to overcome challenges and build bots.

This tag is linked to everything concerning the starcraft gym. Starcraft II is a real-time strategy game. PySC2, the DeepMind python library opened it up to Reinforcement Learning within the starcraftgym: https://github.com/deepmind/pysc2. This is a great place to start for running minigames, and using machine learning techniques to overcome challenges and build bots.

12 questions
7
votes
2 answers

Shortest path in games (StarCraft example)

In games like StarCraft you can have up to 200 units (for player) in a map. There are small but also big maps. When you for example grab 50 units and tell them to go to the other side of the map some algorithm kicks in and they find path through the…
user2693928
6
votes
3 answers

Programming Language for Berkeley Overmind Starcraft AI competition

Does anyone know which programming language the Berkeley Overmind submission to the Starcraft AI competition this past year was?
5
votes
5 answers

Where to learn about enemy game algorithms (like Starcraft/Warcraft)?

I would like to learn about games (strategy) algorithms especially about how do enemies algorithms works ? Is there any good place for beginners?
user63898
  • 29,839
  • 85
  • 272
  • 514
4
votes
1 answer

Getting specific metrics from StarCraft 2 Replays

I'm looking for a way to pull some metrics from a replay, but after doing some research I think this might be more difficult than I originally thought. From what I've found, the SC2 Replay is mostly events (and some info about the replay and…
lucidquiet
  • 6,124
  • 7
  • 51
  • 88
3
votes
1 answer

sc2 python, AssertionError: Unsupported pixel density

Here is my code that I want to run import sc2 from sc2 import run_game, maps, Race, Difficulty from sc2. player import Bot, Computer class pxk(sc2.BotAI): async def on_step(self, iteration): await…
2
votes
1 answer

pysc2 Starcraft - obs.observation returns KeyError

I am trying to run various codes I found in the internet with pysc2 Starcraft DeepMind AI agents. I often run into KeyError: 'SOME-VALUE-HERE' invoked by obs.observation["SOME-VALUE-HERE"]. For example this agent and this agent crash on KeyError:…
Pepacz
  • 881
  • 3
  • 9
  • 24
1
vote
1 answer

Tensorflow 2.x Agents(TF-Agents, Reinforcement Learning Module) & PySC2

There are pysc2(https://github.com/deepmind/pysc2) & Tensorflow(1.x) and OpenAI-Baselines(https://github.com/openai/baselines), like the…
1
vote
2 answers

How to the set SC2PATH of pysc2

I want to run an agent of pysc2, but my StarCraftⅡ isn't installed at C:/Program Files(x86)/StarCraftⅡ (the default SC2PATH that pysc2 uses, my OS is Windows10). How to change the SC2PATH of pysc2? The official…
0
votes
1 answer

Issue Downloading Starcraft2 MP3s from Website using Python

I've adopted the code from this stackoverflow.com link, How can I download music files from websites using #Python, to work with Starcraft2 sounds from this following website: https://nuclearlaunchdetected.com/. When I execute the code, all the…
Victor
  • 1
0
votes
2 answers

Defining Observation Space in Open AI Gym

I am working on a deep reinforcement problem, I am new to this. I am writing a snippet of code and errors I am getting. Broker_Node_Map is a list of values present in different positions in a machine. I don't know how to present these values as…
0
votes
1 answer

"Failed to connect to the SC2 websocket. Is it up?"

I am trying to run the Deepmind Environment for Starcraft II, following this tutorial After running: $ python -m pysc2.bin.play --map Simple64 I get this error: raise ConnectError("Failed to connect to the SC2 websocket. Is it up?") within the…
mrk
  • 8,059
  • 3
  • 56
  • 78
0
votes
1 answer

Where can I find the maps folder within StarcraftII?

I am trying to set up Starcraft II for Deep Reinforcement Learning, following this Tutorial. At some point I am adviced to download the maps: Get the maps PySC2 has many maps pre-configured, but they need to be downloaded into the SC2 Maps…
mrk
  • 8,059
  • 3
  • 56
  • 78