This repository is an easy entry point to start playing with Mario AI Championship 2011.
Mario AI Championship 2011 Official Site
Mario Competition Google Group is the best place for asking questions.
you can just download distribution, include the jars in bin/ and lib/ to your project and start coding. you can find demos in different languages in example/ directory.
If you are using maven, ivy or other build tools, add following repository
http://zerg000000.github.com/mario-ai/repository/
and declare the dependency, for maven
<dependency>
<groupId>ch.idsia</groupId>
<artifactId>mario-ai</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
you are ready to go!
The documentation is little and outdated, you would take many time to sort out the real answer. That's why this repository exist. But still, we need them to get started. you can find them from Mario AI Championship 2011 Official Site. But here's a short list.
Hope you will enjoy it and join the Championship in the near future!
ps. any help in coding, example or documentation is welcome.
If your machine have Git and Maven installed.
To checkout project
git clone git@github.com:zerg000000/mario-ai.git
Run following command at the project root and enjoy!
mvn exec:java -Dexec.mainClass="ch.idsia.scenarios.Main" -Dexec.args="-ag ch.idsia.agents.controllers.ForwardJumpingAgent"
For release build, you must checkout out two project under same directory1.
Checkout source code project
git clone git@github.com:zerg000000/mario-ai.git mario-ai
Checkout repository project
git clone git@github.com:zerg000000/mario-ai.git mario-ai-pages
Switch to gh-pages branch
git checkout gh-pages
Do your release
mvn -DperformRelease=true clean deploy
Update your mario-ai-pages project using update-directory-index.sh
Commit and Push
git commit -am "your comment"
git push origin master