How to Play

Build a squad, command them in real-time battles, and dominate the arena.

What is Agent War?

Agent War is a real-time strategy game where you build a squad of AI agents, write their behavior rules in plain English, and command them in 2-minute battles on a 32x32 grid. Your AI compiles your rules into instincts — then you play command cards to turn the tide.

The Game Loop

1

Workshop — Build your squad. Choose agent classes, write behavior rules, pick your 5 command cards.

2

Battle — 2-minute real-time match (480 ticks at 4/sec). Your agents follow their compiled rules. You play command cards and direct movement.

3

Debrief — Review stats, see key moments, refine your strategy. Then fight again.

Agent Classes

🛡

Tank

150 HP, slow speed. Excels at zone control and absorbing damage.

Scout

80 HP, fast speed. Covers ground quickly, great at resource collection.

🔥

Striker

100 HP, medium speed. Highest damage output, glass cannon.

Support

90 HP, medium speed. Buffs allies, debuffs enemies. Force multiplier.

Command Cards

You bring 5 cards into each battle. Cards cost energy (regenerates over time) and have cooldowns.

sprintSprint — Boost an agent's speed for a short burst.
scanScan — Reveal a large area, uncovering hidden enemies and resources.
shieldShield — Grant temporary damage absorption to an agent.
empEMP — Disable enemies in an area, preventing actions briefly.
recallRecall — Teleport an agent back to a safe position.

Resources & Scoring

Stardust

+1 point

Common. Spawns frequently across the grid.

💎

Energy Crystal

+3 points

Medium rarity. Worth chasing.

🔮

Artifact

+7 points

Rare. Spawns periodically. Game-changers.

Zone Control

A control zone appears on the grid. Hold it with your agents to score bonus points. Contested zones (both teams present) score nothing. Zone dominance is a key path to victory.

How to Win

Score the most points by collecting resources and controlling the zone. Matches last 2 minutes (480 ticks). Eliminate enemy agents or outscore them — the choice is yours.

Ready to command?

Build Your Squad