Skip to content

AIOpenLab/nesrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Python 3
    • OpenAI Gym
  • Lua 5.1
  • FCEUX

Setup

OSX:

brew install fceux
brew install lua@5.1
luarocks-5.1 install luasocket

Ubuntu:

sudo apt-get install fceux
sudo apt-get install lua5.1
sudo luarocks install luasocket

Running the code:

Grab a ROM for Mike Tyson's Punch Out, save it as mtpo.nes, then execute the two commands:

$ fceux --loadlua gym.lua mtpo.nes
$ python mtpo_agent.py GlassJoe 

GlassJoe is one of a several possible entry points, see the states directory for other options.

Further Reading:

Memory locations for Mike Tyson's Punch Out:

About

Reinforcement Learning on NES games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •