This is a fork of the Pyboy-RL project, specifically focused on completing the Game Boy game Mega Man 2.
Report: report
- Python3.7 on Windows
- Python3+ on Linux
- PyBoy (https://github.com/Baekalfen/PyBoy)
- SDL2
- Ubuntu:
sudo apt install libsdl2-dev
- Fedora:
sudo dnf install SDL2-devel
- macOS:
brew install sdl2
- Windows: PyBoy guide https://github.com/Baekalfen/PyBoy/wiki/Installation#windows-10-64-bit Download link https://www.libsdl.org/download-2.0.php
- Ubuntu:
- For package requirements see requirements.txt
- GameBoy ROM files foe Mega Man 2(place this in /games)
- Filename must be "mm2.gb"
To run from source, first install dependencies:
pip3 install -r requirements.txt
Then, run:
python3 main.py
Build command: docker build --tag pyboy-rl .
Once inside the image run python3 main.py
to start the program. The docker container only supports headless mode, and the game emulator ui will not show up.
DDQN - https://arxiv.org/abs/1509.06461
PyTorch RL Super Mario Bros Example - https://pytorch.org/tutorials/intermediate/mario_rl_tutorial.html