There's a specific kind of strategy game that appeals to programmers in a way that's hard to explain to non-programmers. Not the Civilization type — those are grand but ultimately about broad strokes. I mean the ones where the game is essentially a system you debug. Where winning means understanding the machine well enough to exploit it.
Into the breach
The purest example. Every turn is a puzzle with complete information. You can see exactly what the enemies will do. The challenge is finding the sequence of moves that solves the board. It's like a coding challenge where the constraints are tight and the solution space is small but non-obvious.
What makes it brilliant is that the game is deterministic. No dice rolls, no RNG on attacks. If you fail, it's because you didn't see the solution, not because you got unlucky. For anyone who's frustrated by games that punish you with randomness, this is the antidote.
Slay the spire (and its descendants)
The roguelike deck-builder genre is essentially about combinatorial optimization. Each card is a function. Each relic modifies the runtime. Building a deck is building a system, and a good run is one where your system handles the inputs (enemies) efficiently.
Slay the Spire created the template. Balatro (poker-themed), Inscryption (horror-themed), and Monster Train (tower-defense hybrid) are the best variations I've played. They all share the same underlying appeal: the joy of building a system that works.
Zachtronics games (rip)
Zachtronics is gone now — the studio closed after Last Call BBS — but their games are the most "programmer games" ever made. SpaceChem, Opus Magnum, Shenzhen I/O, TIS-100 — they're literally programming games, where the puzzle is writing instructions that produce a specific output.
TIS-100 deserves special mention because the game is presented as a manual for a fictional retro computer, and you solve puzzles by writing assembly code on its nodes. The fact that this game has a loyal fanbase tells you everything about what programmers actually find fun.
Why these games work for us
The common thread is legibility. These games show you their systems. They don't hide mechanics behind animation or narrative. The game state is knowable, the rules are consistent, and improvement comes from understanding rather than reaction time.
That's the same thing that makes a well-designed API satisfying to work with. Predictable inputs, predictable outputs, no hidden side effects. The best strategy games are the ones where the design itself is elegant — where the rules are simple but the emergent complexity is deep.
The games I keep returning to are the ones that feel like thinking. Not reacting, not grinding — thinking. That's a surprisingly rare thing in gaming.