-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dan Riddell edited this page Aug 7, 2026
·
5 revisions
hegemony — rule by one, settled on a grid.
A territory-war simulation where competing algorithms fight to control a shared grid.
hegemony pits pluggable strategies against each other on a shared grid: factions expand, attack, and defend to claim territory. Run a batch tournament headlessly, or watch a single match in the GUI.

| Command | Wiki page | Description |
|---|---|---|
hegemony headless |
hegemony headless | Run a batch tournament across strategies and print a result table |
hegemony run |
hegemony run | Watch a match in the GUI — war map and leaderboard in separate windows |
hegemony evolve |
hegemony evolve | Search weights for the Evolved strategy and print the best vector |
All three share the same simulation parameters, and enter the same strategies.
| Page | Description |
|---|---|
| Strategies | The thirteen registered strategies |
| Simulation parameters | The flags shared by every command |
| Demos | War-map clips, and how they are generated |
# headless CLI
brew install danielriddell21/tap/hegemony
# GUI
brew install --cask danielriddell21/tap/hegemonygo install github.com/danielriddell21/hegemony/cmd/hegemony@latestA go install build is headless only — the GUI sits behind the ebiten build tag. See hegemony run.