forked from simondlevy/gym-mygame
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit aa4ba4e
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from mygame import MyGame |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
||
|