Clash of the Ants in an Object Oriented world
Based on the specifications provided in the Internation Competition of Functional Programming (ICFP) 2004.
This simulator shows ants from two anthills battling each other in gathering food from the world.
The ants are a state-machine having different algorithms for finding food and returning home while fighting off the enemy or killing it by surrounding an enemy from all sides.
This simulator shows the ants in action and also helped me develop an ant-brain based on the idea of one of the competitors in the International Contest of Functional Programming 2002, which can also be downloaded to play in the simulator.
Click here to download the
Simulator for the Ant competition.
You can download files to load in the simulator over
here.
After running the simulator, load the world file, red ant file, and a black ant file.
This will load an instance of a match. Click on play to see the two ants race each other
to gather food that is scattered in the world. The food is represented by green circles in
some of the hexagonal cells. The team that collects the most food by the end of the
100000th round wins the match.
Back to HOME