PySC2 is DeepMind's Python component of the StarCraft II Learning Environment (SC2LE). It exposes Blizzard Entertainment's StarCraft II Machine Learning API as a Python RL Environment. This is a collaboration between DeepMind and Blizzard to develop StarCraft II into a rich environment for RL research. PySC2 provides an interface for RL agents to interact with StarCraft 2, getting observations and sending actions. The easiest way to get PySC2 is to use pip. That will install the pysc2 package along with all the required dependencies. virtualenv can help manage your dependencies. You may also need to upgrade pip: pip install --upgrade pip for the pysc2 install to work. If you're running on an older system you may need to install libsdl libraries for the pygame dependency.

Features

  • PySC2 depends on the full StarCraft II game and only works with versions that include the API
  • PySC2 should work on MacOS and Windows systems running Python 2.7+ or 3.4+
  • PySC2 has many maps pre-configured, but they need to be downloaded into the SC2 Maps directory before they can be played
  • You can run an agent to test the environment
  • The UI shows you the actions of the agent and is helpful for debugging and visualization purposes
  • To specify the agent's race, the opponent's difficulty, and more, you can pass additional flags

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow PySC2

PySC2 Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PySC2!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Reinforcement Learning Frameworks, Python Reinforcement Learning Libraries, Python Reinforcement Learning Algorithms

Registered

2021-07-30