Animal Tactics devlog2 min read
Unit Tactics 0.1: a playable auto-battler
The first commit is already a whole game. Draft units from a shared shop, build traits on a hex board, and outlast seven AI opponents in fights that play themselves.
Animal Tactics was called Unit Tactics until version 0.8.1, so this post uses the old name.
Unit Tactics is an auto-battler for desktop, the genre Teamfight Tactics made popular. You draft units from a shop shared by the whole lobby, combine copies into stronger units, build trait synergies on a hex board, and then watch the fight play out. Eight players start and the last one standing wins.
I started it on the night of October 28, and 0.1, the first commit, was a complete game: you and seven AI opponents, from the first round to the last. I built it with Claude Code and OpenAI's Codex, working from a design document that keeps every rule and number in one place.

The loop
Each round starts with 30 seconds of planning. You collect income, the shop refreshes, and you buy, sell, reroll, level up and arrange your board. Then the fight runs on its own, against another player or a round of monsters, and the loser takes damage based on the stage and the enemies left standing.
The economy follows the genre's conventions: 2 gold to reroll, 4 gold for 4 XP, +1 gold of interest for every 10 you hold (up to 5), and bonus gold for win or loss streaks. Three copies of a unit combine into a 2-star, and three 2-stars into a 3-star. Every unit comes from a shared pool, so if another player is collecting the same unit, you'll find fewer copies.
There are 28 units across 11 traits: five origins and six classes. Monster rounds drop loot, and seven bots play the other seats. Each bot picks two traits to focus on, levels on a schedule, keeps a reserve of gold for interest, and spends it all when its health gets low.
Fights that always play out the same
Combat is a fixed-step simulation at 30 ticks a second, seeded so the same fight always plays out the same way. Units walk the hex grid around each other, gain mana from attacking and being hit, and cast one of 13 ability types when full. Assassins leap behind the enemy's back line at the start, and after 25 seconds damage ramps up so fights end.
The two sides also take turns acting first on every tick, so neither team gets a built-in head start.
Placeholders on purpose
There was no art yet. Every unit is a token drawn in code, a circle colored by cost with the unit's initials, and dropping a PNG with the unit's name into the art folder replaces it. The whole game could be played and tested before any art existed.
The tests came with it: headless rule and combat tests, a UI smoke test that clicks and drags through the real scene, and an autoplay mode where a bot plays my seat for a whole game.