A simple boxworld game (with atari rendering) in the gym OpenAI environment
Requirements: gym with atari dependency
git clone https://github.com/meagmohit/gym-boxworld
cd gym-boxworld
sudo pip install -e . #python setup.py install
import gym
import gym_boxworld
env = gym.make('boxworld-v0')
env.render()
- boxworld-v0 : Default settings (
map_size=6
,total_keys=5
) - BoxWorldNoFrameskip-v3 : Default settings (
map_size=6
,total_keys=5
) andtcp_tagging=True
agents/random_agent.py
random agent plays game with given random trajectoriesagents/play.py
for humans to play the game. Keys w,s,a,d for UP, Down, Left and Right respectively.agents/agent_recordEEG_openLoop.py
plays the game slow with TCP connection port to allow data stimulations