Welcome to this repository for Mario_Game_AI_Basecode. This is the base code for a Super Mario Bros simulator for which we will be implementing an evolutionary controller to play the game.
Read this document carefully as it contains information describing how to install the software, verify that it is working correctly, and how to get started with your implementation.
As the base code for this assignment was written in Java, the first thing we need to do is install a Java IDE!
If you do not already have a student Jetbrains account, head to here: https://www.jetbrains.com/community/education/#students and then click Apply Now, then go through the application with your Monash Student Email, then you should have access to the entire Jetbrains suite, including IntelliJ!
Once that’s done, head to https://www.jetbrains.com/idea/ and click Download to begin installing IntelliJ, following the prompts as directed.
The base code for this assignment is a slightly modified version of https://github.com/amidos2006/Mario-AI-Framework
I will be storing this base code on the following repository: https://github.com/VincentOracle/Mario_Game_AI_Basecode OR https://bitbucket.org/shortestpathlab/mario_ai_students/src/main/ so that in case there are any updates to the base code (which there shouldn’t be) it will be easy to roll them out.
Clone the above repository to wherever you would like on your own device, using whichever Git client (or the terminal) that you prefer using i.e.
git clone https://github.com/VincentOracle/Mario_Game_AI_Basecode
Open IntelliJ and then Select Open and then navigate to the directory where you cloned the base code. Specifically make sure you open the directory that contains the img, levels, and src folders.
With that, open up src->PlayLevel and then hit the Play button in the top right of the screen, this should start level 1-1 with a human controller (you!)
The controls are:
- Left: Left Arrow Key
- Right: Right Arrow Key
- Down: Down Arrow Key
- Speed: A
- Jump: S
Have some fun trying to beat 1-1, you’ll be dealing with this level a lot over the next few weeks!