Skip to content

Commit

Permalink
Begin gym-mygame
Browse files Browse the repository at this point in the history
  • Loading branch information
simondlevy committed May 12, 2020
0 parents commit aa4ba4e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions gym-mygame/gym_mygame/envs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from mygame import MyGame
Binary file not shown.
34 changes: 34 additions & 0 deletions gym-mygame/gym_mygame/envs/mygame.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
'''
My OpenAI Gym game environment for CSCI 316 spring 2020
Copyright (C) 2020 A. Student
MIT License
'''

import gym
import numpy as np

class MyGame(gym.Env):

def __init__(self):

gym.Env.__init__(self)

def step(self, action):

return

def render(self):

return

def reset(self):

return

def close(self):

gym.Env.close(self)


0 comments on commit aa4ba4e

Please sign in to comment.