## The Swarm Game

This is a set of swarm behaviors proposed the Fratelli Theater Group and popularized by Eric Bonabeau and Carl Anderson at IcoSystem. The idea is to guess what certain combinations of individual agent behaviors are likely to cause in "emergent behavior" of the whole system. Each agent first picks two random individuals A and B that are different from one another and neither of which are the agent himself. Then the agents all follow the same behavior. This game has often been played with "real" human swarms. There are five behaviors in this example:

1. Head towards A
2. Head away from B
3. Head to the center between A and B
4. Head to the point on the other side of B from A that is twice as far away from A as from B.
5. Move in a random direction

In the Model pane you can change how much each behavior is mixed in to form the final behavior. Some stuff to try:

- Go towards A
- Go away from B
- Go towards A: 0.5, Go away from B: 0.5
- Go between A and B: 0.5, Go behind B from A: 0.5
- Go away from B: 0.5, Go between A and B: 0.5 (try very slightly off of this too)