AdSense

Saturday 6 July 2013

AntMe

(Deutsche Version) Recently, I found something interesting: AntMe. This is a simulation of ants. Basically, these ants do nothing. You can directly edit C# code to tell the ants what to do. This looks like this:

public override void DestinationReached(Sugar sugar)
{
    Take(sugar);
    GoToBase();
}

This is no pseudo code, AntMe is this simple. Of course you ants can become much more complicated when they set odour marks to communicate with other ants (e.g. "There is sugar here!"). The basic idea of AntMe is simple but if you want to create efficient strategies for your ants, this can become very complex.

You cannot directly action in the simulation, you have to watch the simulation, improve the code and then all over again. This project is suitable for everyone who can program C#.

No comments:

Post a Comment