Sharif AI Challenge, 1st stage code for 2016 contest
Sharif AI Challenge is a programming competition for all who are interested in artificial intelligence.
This competition is held in two phases annually. Including an online and an on-site phase in which competitors will compete in teams of three in a game designed by our technical team.
The only pre-requisite to enter this competition is familiarity with programming using C++, Java or python. But obviously, knowledge of algorithmic thinking and artificial intelligence will be a great asset for any of the participating teams. You can find more details about this competition in this Link
In this repository, you can find our team's final submission in the final stage of this competition held in 2016 at Sharif University of Technology. We developed our AI program using Java programming language.
In order to run this program, you need to run the game's server, and run two competitors.
You can run the server using:
java -jar flowsgameserver-v2.0.jar
after that you should choose an .map
file that you want to run two competitors. There a few sample .map
files given in this repository. Some of the are official .map
files given by the competition. Our team also made some maps to test our code. After choosing a map, server starts and waits for two competitors to join the game.
A pre-compiled and simple random client that choose random actions on each turn is given in FlowsRandomClient-v1.0.jar
. You can run this client using:
java -jar FlowsRandomClient-v1.0.jar
You can run our compiled code using:
java -jar version3.5 - .jar
You can find the source code of the core of our code in /src/client/AI.java
.