Skip to content

Instantly share code, notes, and snippets.

@fyr91
Last active October 15, 2019 04:25
Show Gist options
  • Save fyr91/9f2f416d547474c6ed2be2f802679cd8 to your computer and use it in GitHub Desktop.
Save fyr91/9f2f416d547474c6ed2be2f802679cd8 to your computer and use it in GitHub Desktop.
import gym
from gym import spaces
from pysc2.env import sc2_env
from pysc2.lib import actions, features, units
import logging
import numpy as np
logger = logging.getLogger(__name__)
class DZBEnv(gym.Env):
metadata = {'render.modes': ['human']}
def __init__(self, **kwargs):
pass
def step(self, action):
pass
def reset(self):
pass
def close(self):
pass
def render(self, mode='human', close=False):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment