sim.app.swarmgame.index.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mason Show documentation
Show all versions of mason Show documentation
MASON is a fast discrete-event multiagent simulation library core in Java, designed to be the foundation for large custom-purpose Java simulations, and also to provide more than enough functionality for many lightweight simulation needs. MASON contains both a model library and an optional suite of visualization tools in 2D and 3D.
The newest version!

The Swarm Game
By Sean Luke
This is a set of swarm behaviors proposed by 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:
- Head towards A
- Head away from B
- Head to the center between A and B
- Head to the point on the other side of B from A that is twice as far away from A as from B.
- 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)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy