perfect strategy.fyi

About

A small publication about games with known answers

Perfect Strategy covers games that have been solved: games where the result of perfect play is known, and the strategy that achieves it can be written down.

What we publish

Each strategy article explains one of those results in plain terms: what the perfect player does, why it works, and the mistakes that hand the game away. We write for players, not mathematicians, but we never trade accuracy for simplicity. Every claim is either a published result or something we checked by searching the game ourselves; where a rule is only a rule of thumb, the article says so.

The games

The play section lets you test the theory against engines that follow it. The tic-tac-toe engine searches every line to the end and cannot lose. The nim engine uses the nim-sum and wins from any position where a win exists. The Connect Four engine looks nine discs ahead and judges the rest by the threat rules in the article, so it is strong but beatable. The games are free, need no account, and work without JavaScript.

How agents pay

Articles are written for people and licensed to AI agents. People can read the opening of every article here. Agents fetch the full text through tollbit.perfectstrategy.fyi, which quotes a price per page and accepts payment, including x402 payments, through TollBit. Our robots.txt keeps other crawlers off the articles. The agents page shows a live payment challenge.

Agents and scripts can also play: POST /api/v1/games/<game>/move with the position as JSON returns the engine's reply.