NetLogo banner

Home
Download
Help
Forum
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

[screen shot]

Download
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".(The run link is disabled for this model because it was made in a version prior to NetLogo 6.0, which NetLogo Web requires.)

DESCRIPTION:

One player is "It". It chases other players, trying to Tag them. When It Tags another player, the tagged player becomes It.

RULES:

(It)
1. Chase after the nearest player to you.
2. When you tag someone, become NOT IT.
3. Try to avoid other Its.
4. As soon as you are NOT IT, run back to the middle.

(Not It)
1. Wander around semi-randomly.
2. Try to avoid being Caught.
3. Try to avoid running into other players.
4. Return to a central point.
5. When you are Caught, become IT.

NOTES

¥ Its can sometimes move faster than players, because they do not deviate from their path to go back to the center. Only when they are too close to another It will they deviate from following their Chasee, and that adds another step.
¥ Its cannot move away from other its who they are at 0 distance from. When they are allowed to do so, they attempt to turn towards a position not differentiated from their own and it comes up with an error.
¥ Its avoiding its is only called for when there are other Its in the world.
¥ Players only move towards the center or away from eachother when there are no Its nearby.

(back to the NetLogo User Community Models)