# I made Claude Opus and Sonnet play Civilization IV against me and GPT — retained record

> Retained reddit record from reddit:ClaudeAI.

Canonical: https://highsignal.app/data/records/d6c7182434ca8c52

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeAI)  published 2026-10-24 04:27 ingested 2026-10-24 10:56

[original source ↗](https://www.reddit.com/r/ClaudeAI/comments/1xdz7e8/i_made_claude_opus_and_sonnet_play_civilization/)

## retained text



```
  
What I built: a mod for Civilization IV: Beyond the Sword where the other civs are played by LLMs instead of the built-in AI. Each player is a Claude Code session (GPT runs through Codex). It wakes up on every event (a new turn, a message, a deal offer) with a fresh prompt: the rules, its own notes, and what changed since last time. It uses one CLI command, civ, to look at its empire and the map, move units, trade and chat with me in the game. Then it updates its notes and goes back to sleep. A patched game engine switches the built-in AI off for those civs, and the mod shows each one only what its own civ can see.

It's open source and free to try: [https://github.com/noreff/civai](https://github.com/noreff/civai)




```



document fetched 2026-10-25 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1xdz7e8/i_made_claude_opus_and_sonnet_play_civilization
