Java Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
doc
img
lib
src
.gitignore
Mario.iml
README.md
build.xml
mario.ipr
mario.iws
requirements.txt

README.md

marioai-2009

Original source code from http://julian.togelius.com/mariocompetition2009/index.php

Run

Manual

java -classpath classes ch.idsia.scenarios.Play

or

ant play

Using Agent

java -classpath classes ch.idsia.scenarios.Play ch.idsia.ai.agents.ai.ForwardAgent

Client / Server Control via TCP

Sever (Java)

java -classpath classes ch.idsia.scenarios.MainRun -server on

Client (Python)

python src/python/competition/ipymario.py

Run the following setup before exec if necessary.

Develop

Setup

virtualenv env # Use Python 3
source env/bin/activate
pip install -r requirements.txt

Test

cd src/python/competition
green tests