Shields and Swords: Agent-Based Model

Partner ♥
Enemy ⚔
60
1.0x

Shields and Swords: Agent-Based Model

Overview

This simulation demonstrates emergent collective behavior where each agent has two relationships: a partner (ally) and an enemy (threat). Agents continuously move to maintain strategic positions based on the selected mode.

Agent Relationships

Each agent randomly selects:

Behavior Modes

🛡️ Shield Mode
"I will protect my partner from my enemy"
Agent positions itself between enemy and partner, acting as a shield.
⚔️ Sword Mode
"My partner will protect me from my enemy"
Agent stays behind partner, using them as protection from enemy.

Emergent Behaviors

Complex group dynamics emerge because:

Controls

What to Observe

Try different configurations and watch for:

Inspired By

This simulation explores concepts from: