u/huquy

I made two LLMs fight each other in a strategy game : the result was wild
▲ 13 r/LLMStudio+1 crossposts

I made two LLMs fight each other in a strategy game : the result was wild

Hello guys !

I've been working solo on a project called Age of LLM. It's a turn-based strategy game where two LLMs battle it out on a 12x12 map with one goal: destroy the enemy base. No human input, the AIs play entirely on their own.

Just uploaded a video of Qwen3-6-27B vs Gemma-4-31B-IT going head to head: https://youtu.be/s5P572e10nc

What happened (minor spoilers):

  • >!Turn 1, Qwen drops Mill#2 immediately — food income secured, economy first. Gemma? Different playbook entirely. She builds Barracks#2 on Turn 7. MILITARY FIRST. No food passive, just raw aggression. But Qwen had already placed Barracks#3 on Turn 6 — one turn ahead on combat readiness. Two different philosophies, same destination.!<
  • >!Turns 14-18 — first contact. P1 pushes Infantry south, Gemma responds with Infantry marching north. THEY COLLIDE. Turn 17, both sides trade 10 damage hits. Nobody's dropping yet. Then Turn 18 — Gemma makes a GENIUS read: she trains Archer#7. That is not just a unit. That is a TYPE COUNTER. Archers shred infantry at x1.5 multiplier. Qwen does not see it coming.!<
  • >!Turn 19 — Gemma repositions Archer#7. COLD. CALCULATED. Locks on P1 Infantry#4 — only 20 HP left — and FIRES. 25 damage with advantage. INFANTRY#4 IS DOWN. FIRST KILL OF THE GAME. Turn 20 — P2 Infantry#6 finishes P1 Infantry#5. BACK TO BACK ELIMINATIONS. Qwen is left with ZERO combat units in the field. Gemma trains Pikeman#8. The snowball begins.!<
  • >!Qwen rebuilds — new Infantry spawned. But Gemma goes HUNTING. Turn 22 — VILLAGER#2 ELIMINATED. Economy hit! Turn 24 — Infantry#7 ELIMINATED. Turn 27 — Qwen's Cavalry#8 ELIMINATED before it matters. Gemma roams freely. Villager#1, Villager#3, all hunted down. Qwen's economy is shattered.!<
  • >!Turn 33 — THE SIEGE begins. Pikeman#8 reaches P1 Base. 12 damage. Then Archer#7 joins. 138 HP... 128... 116... 94... 72... 50... Qwen fights back — Pikeman#12 eliminates Pikeman#8 AND Cavalry#11. But Archer#7 is UNTOUCHABLE at range 3. 30 HP... 20 HP... 10 HP...!<
  • >!Turn 41. Archer#7 at [7,4]. P1 Base at [8,2]. Manhattan distance: exactly 3. Archer range: 3. Gemma's internal reasoning is ice-cold: "Twenty divided by two equals ten. Ten HP remaining. This is a winning move." ONE SHOT. THE BASE IS GONE!<

Game mechanics:

  • Economy with 4 resources (wood, stone, iron, food)
  • Unit counters: Infantry > Pikeman > Cavalry > Archer > Infantry
  • Fog of war, watchtowers, siege catapults
  • 3 actions max per turn, failed actions still count
  • 100 turns max, destroy the base to win

The coolest part is seeing how different models reason. Gemma made a tactical call on turn 18 that changed everything --> identified the counter and exploited it. Qwen never adapted.

I'd love to test more local models! What matchups do you want to see? Mistral vs Llama? DeepSeek vs Phi? Drop your suggestions below.

The game is still in v2.2.0, rules are evolving. If you have ideas for mechanics or rules, I'm all ears.

youtu.be
u/huquy — 2 days ago
▲ 8 r/PoeAI+3 crossposts

Age of LLM making AI models fight each other in a strategy game (now in 3D)

Hi ! I just released a big update for my project Age of LLM and wanted to share it here.

Age of LLM is a turn-based strategy game where two AI models (LLMs) play against each other with zero human input. Each AI controls its own kingdom—gathering resources, building structures, training units, and trying to destroy the enemy base. It's basically Age of Empires but the AIs are the players.

The game mechanics:

  • 12x12 map with fog of war
  • Start with 3 villagers + 1 base
  • Gather wood, stone, iron
  • Build sawmills, quarries, barracks, towers
  • Train infantry, archers, cavalry (each with unit advantages like Pokémon)
  • 3 actions per turn, executed sequentially
  • Destroy the enemy base (150 HP) to win

What's interesting is seeing how different models approach strategy. Some rush military, some boom economy, some make terrible decisions and get punished. The comebacks can be pretty wild.

The big update: 2D → 3D

The game was fully 2D before. I just rewrote the renderer to make it 3D. Same mechanics but visually way more satisfying to watch. There's also more content coming:

  • 2 new units in development
  • Better seed generation for more varied matches
  • Balance tweaks ongoing

Latest video: Grok 4.3 vs Sonnet 4.6

Two frontier models going head-to-head. Grok 4.3 is trying to redeem Grok 4.2's loss. Bold reasoning vs methodical precision.

Watch here: https://www.youtube.com/watch?v=JNJs6uSYpo8

There's also a quick intro video in the description if you're new to the game.

What matchups would you guys want to see next? I'm open to suggestions for future videos.

u/huquy — 7 days ago
▲ 12 r/VeniceAI+1 crossposts

Hey everyone,

So I've been working on this side project called Age of LLM ! It's basically a turn-based strategy game where AI models play against each other with zero human input. They just get the game state and spit out JSON actions. No handholding, no scripting, nothing.

First episode is Claude Opus 4.7 vs GPT-5.5, both running in low reasoning mode.

The rules are pretty simple : 12x12 map, fog of war, you start with 3 villagers + 1 base + 100 wood. You gotta manage economy, build military buildings, pump out units (infantry, archers, cavalry with rock-paper-scissors counters), and destroy the enemy base (150 HP). Max 3 actions per turn.

It's only 3 minutes long so it doesn't drag:

https://www.youtube.com/watch?v=yjxGa_fzdmI

I'm already planning the next matchups. Who do you guys wanna see next? Gemini ? Llama ? Mistral? DeepSeek? Drop your suggestions here or on the video, I'll do the most requested ones.

Thanks for checking it out 🙏

u/huquy — 16 days ago