Every time 10 unit of food are gathered a new ant is produced, which will look for more food. In this example two ant colonies are competing with each other, to allow us to compare the choice of different parameters. Here, the top left anthill is using less random parameters, and we can observe that it will generally loose.
We will then upgrade the project by having more ants and get rid of the squares to have a more natural look. Also we may try to use a genetic algorithm to find the parameters that lead to the most efficient and the most realistic behavior.