LSTM Network trained to play Punchout, a game released for the NES (Nintendo Entertainment System). This bot uses pykitml ML library.
python3 -m pip install -r requirements.txt
(Note: You may have to use python
instead of python3
for windows)
Ubuntu/Debian
sudo apt-get install fceux
sudo apt-get install lua5.1-socket
Windows
http://fceux.com/web/download.html
(Copy Lua socket files to FCEUX's directory, say yes to replace files)
Ubuntu/Debian
-
Start script,
python3 bot.py
-
Start Fceux
-
Option > Video Config > Set X and Y Scale to 2.0
-
File > Open ROM, browse to
punchout_rom.nes
-
File > Load Lua Script, browse to
fceux_client.nes
-
Place the FCEUX window on TOP RIGHT CORNER
Windows
-
Start script,
python3 bot.py
-
Start FCEUX
-
Config > Video > Window Settings > Set X and Y Scale to 2.0
-
File > Open ROM, browse to
punchout_rom.nes
-
File > Lua > New Lua Script Window, browse to
punchout_rom.nes
, click Run -
Place the FCEUX window on TOP RIGHT CORNER
(Note: You may have to use python
instead of python3
for windows)