Skip to main content

StarCraft I Learning Environment

Project description

pysc1 : The StarCraft I Learning Environment

This package is currently in enthusiastic development. Just wait a sec. Meanwhile, refer to for now.

This project is also registered on pypi : I’ll be waiting for the people who share the same interest and wants to build on the project!

Thank you.


Installing and managing Starcraft I learning environment can be tedious and full of errors. Here, I present to you packaged way of running a nice Starcraft I gym simulation in your laptop or some clusters.

I was using Windows 10 while making this work, so the instructions are made in reference to the Windows system.

“OpenAI Gym” like code for Starcraft I

After the Environment is set, you can access the features of Starcraft I just like in OpenAI Gym:

env = sc.SingleBattleEnv(args.ip, args.port)
agent = RandomAgent(env.action_space)

episodes = 0
while episodes < 100:
    obs = env._reset()
    done = False
    while not done:
        action = agent.act()
        obs, reward, done, info = env._step(action)
    episodes += 1


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pysc1-0.0.4.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page