This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Sisko
Sisko presents ...

2010/6/14

antBootCamp


- Ants go out and search for a spider.
- If an ant finds a spider, it will hold on to it.
- The ant that has found the spider will change direction more frequently.
- The ant that dropped the spider will move faster.

Note that no ant is programmatically "aware" of the existence of the other ants, however (visually at least)
it looks as if the ant that has the spider will dodge the other ants, and the ants that has lost
the spider will try to get it back.

2805 views / 558 in the last 7 days

Tags: simulation with-source

open in greenfoot
Your browser does not support the canvas tag.

No Comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.