Codename: Epsilon
This code will provide the basis for the next contest (Winter 2011). Epsilon is supposed to implement the ants game.
ants/
- Everything related to ants: engine, starter packages, maps/mapgen, visualizerintegration_testing
- Anything related to testing/stress-testing the contest setupmanager/
- Tournament manager which coordinates the workers and computes skill ratingsworker/
- Standalone workers which run games (including compiler and sandbox)sql/
- Files for creating an empty sql databasewebsite/
- Main website and frontend
Initializing the git submodules:
git submodule init
git submodule update
This is out of date stuff. You might want to consult with setup/server_setup.py
and the IRC.
-
Install Latest Ubuntu
-
Install Dependencies:
apt-get install subversion apache2 mysql-server php5 libapache2-mod-php5 php5-mysql python-mysqldb openssh-server build-essential
- Create mysql aichallenge user and database
Schema files are located in sql/
, from that folder execute
mysql -u $aichallenge_user -p'$db_password' $aichallenge_db < * .sql
-
Configure
www/server_info.php
, sample file inwww/server_info.php.sample
-
Configure
manager/server_info.py
, sample file inmanager/server_info.py.sample
-
Create submissions directory and give
www-data
all permissions
Change www/check_submit.php
and manager/compile_daemon.py
to point to the submissions directory
- Setup apache to serve up
www/
directory.
-
For java bots
apt-get install openjdk-6-jre-headless openjdk-6-jdk
-
Create the users with:
sudo python create_jail_users.py 10