Mario bros is a plateform game where the goal is to reach the flag which is located at the end of the map. On the way you will have to avoid holes and ennemies but also get some coins. The implementation here is a really simplified version of the original game.
The code already implement some function allowing to control the player with an external programm. This repo in therefore a good first layer for developping an AI on mario bros and will may be the topic of a future repository. Be free to fork this repository to build your own AI.
You will just need python== 3.11. You can check the version by using the following command.
> python -V
> 3.11
If you have a version > 3.0 but < 3.11, you can just install the good version of pygame instead of the one defined in the requirements.txt
You can follow the different steps inorder to get the program working on your computer
-
Clone the repo
git clone https://github.com/VictorGoubet/Mario.git
-
Install python packages
pip install -r requirements.txt
-
Launch the following command
python game/__main__.py
Have fun!
Victor Goubet - victorgoubet@orange.fr
Chloé Daems - chloedaems0@gmail.com