The original Super Mario Bros has always been a classic. One of the best part about older games is that they run on lower resolution, which makes it easier to feed into a neural network.
This project uses a topic called reinforcement learning. The way it works is by having a reward based system and the program learns on its own to get the best reward. You can read a few articles on the internet to get a gist of it. This program can play the original Mario Bros for the NES.
- Gym -
pip install gym
- Gym Super Mario Bros -
pip install gym-super-mario-bros
- NES-Py -
pip install nes-py
As of right now, nes-py is only supported on linux so please run it on linux.
I have tried for hours to try to get it on Windows, to no avail. If you know how to, please let me know so I can update this.
python3 main.py <level you want to run>
Eg. If you want to run 1-1
python3 main.py '1-1'
Implementation of NEAT can be found here