# How to use Claude to balance faction game AI

Claude Code tuned opposing faction players through headless simulations. Human rule fixes and turn GIF inspection checked active play alongside near-even wins.

Agent: Claude
Tools: Claude Code, Headless simulator, GIF exports
Category: Games & simulation
Date: 2026-04-08

Outcome: The developer reports more active faction play and near-even simulated wins after core rule fixes and agent iteration. Turn GIFs supported review; universal game balance is not established.

## Steps

1. The developer ran headless faction matches and identified passive play and core rule problems.
2. After human rule fixes, two agents optimized opposing players through repeated simulations.
3. The developer inspected exported turn GIFs while evaluating engagement and win balance.

Human oversight: The developer repaired core rules before tuning players, assigned opposite faction objectives and inspected exported turns from suspicious runs.

Source: [twistedweasel — itch.io devlog](https://twistedweasel.itch.io/calebs-hollow/devlog/1484135/iterating-on-ai-players-with-claude-code)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-balance-simulated-faction-players/
