10/10A=B Swap symbols until they fit in fewer lines
Write tiny programs by swapping one symbol for another, then keep tightening them until they use the fewest lines possible.
Is A=B for you?
A=B reduces a programming language to one rule, then asks you to do surprisingly ambitious things with it, from uppercasing text to multiplying binary numbers. Finding the elegant few-line version of a solution is the real pleasure, and the target line counts revealed after clearing a level keep pulling you back to a problem you thought you were done with. The daft, funny story arrives through emails between a student and a professor, on an interface clean enough to keep your attention on the logic. It is a demanding game: some task wording is hard to decipher, later chapters become extremely difficult, and running a test can take minutes even for optimal code. It earns its place for anyone who wants a hard, focused logic puzzle with a sense of humour.
- Single-player
- 1 player
- Windows
- macOS
What’s good
- Challenges encourage optimization by aiming for the fewest lines of code, rewarding elegant tricks over brute force
- The single-instruction language strips coding down to pure logic, making you feel clever when solutions click
- The story unfolds through funny emails between a student and a professor as you solve puzzles
- Solving problems feels like an IQ test or a deep dive into computer science theory
- The minimalist interface keeps the focus entirely on the text and the logic
What’s not
- Ambiguous or poorly worded instructions can make deciphering task requirements frustrating
- Later chapters become extremely difficult, with some challenges feeling nearly impossible without hints
- The game lacks sound effects, music, and visual polish, which can make it feel dry
- Testing solutions can be slow, taking minutes to run even for optimal code in later levels
A=B is a programming puzzle game that strips coding down to its absolute bones. You get a single instruction: replace A with B. Tasks range from uppercasing every letter to multiplying two binary numbers, and each one has to be solved inside that rule. The pleasure comes from doing it in as few lines as you can.
One rule, many problems
That rule is the whole language. Every task you are given is a transformation, and the only tool you have is writing lines that swap one symbol for another. Start with something plain: take a string of letters and turn it into uppercase, which means pairing each lowercase letter with the one you want in its place.
Then the tasks grow into territory that sounds far outside a single instruction, like multiplying two binary numbers. Because the language cannot do arithmetic directly, you have to break the multiplication down into replacements until the answer is sitting there, produced entirely by swaps. That is the trick of the game: a problem looks like it needs a real programming language, and you get to find out how little you actually need.

A student, a professor, and a scheme
How little you need turns out to be the point of the whole assignment. You sit in a programming class, and rather than write the program your professor expects, you decide to bend the rules and hand in work done in a language of your own design, built from that single instruction.
To make the case, you supply pdf course reports describing what your language can do, laid out like the manuals you would find in a Zachtronics game. Alongside the puzzles you carry on a conversation with your professor, and the exchanges are genuinely funny. The plot is daft and stretched thin, which is exactly its charm: it gets by on charm rather than on having much story to tell.

Chasing the shortest solution
That is where the story steps back and the puzzles take over. Getting a level to clear is only the first move, because each task comes with a challenge score, and the numbers keep nudging you to squeeze your solution further once you already have one working.
Then you clear a level and the target line count appears, and it can be surprisingly low. That is the moment the game gets its hooks in: you proved the task could be done, and now you have to prove it could be done in fewer lines than your solution took. So you go back over the same problem looking for an elegant trick, because a shorter version exists and finding it is a different kind of puzzle entirely. It can feel like an IQ test or a deep dive into computer science theory, and it rewards cleverness over brute force.

A card game tucked inside
After squeezing a level down to its target line count, there is somewhere else to put your head. The game ships with a built-in minigame, a card game tucked alongside the puzzles, and it is the kind of extra a Zachtronics-style title is expected to carry.
Its rules are complex enough that you have to study a manual before you play a single hand, which sounds like a chore on the page. Then you sit down with it and find the studying is the hard part: once the rules are in your head, the game itself moves quickly, and a first attempt can be enough to clear it. That makes it a change of pace from the language puzzles while asking for the same thing, working out what the rules actually allow.

What you want to know before starting?
What kind of background do you need?
None in particular. The language has one instruction, so the rules themselves are trivial to pick up: replace A with B. What requires thought is the decomposition, breaking a task like multiplying two binary numbers down into replacements. You learn the language by using it, and the pdf course reports describe how its features work.
How does the story unfold?
Through conversations with your professor as you solve puzzles. You play a student who hands in an assignment completed with a language of your own design, and the exchanges are genuinely funny. The plot is daft and stretched thin, which is exactly its charm: it gets by on charm rather than on having much story to tell.
Is there a leaderboard or ranking system?
There is no leaderboard to climb against other people. The ranking that matters is the one you set against the puzzles themselves: each level has a target line count, and clearing a level reveals it, so your own score is how close you get to that number. The challenge scores push you to optimize further after a solution already works.
What is the visual style like?
Minimalist and text-based. The interface is pared back to what the puzzles need, so the focus stays entirely on the text and the logic rather than on decoration. That keeps things clean and calm to sit with, though the trade-off is that the game has no sound effects, music or visual polish, which can make it feel dry.
Does it stay relaxing all the way through?
The pace is your own: there are no timers or punishing failure, and the clean interface makes for a low-pressure way to unwind. The difficulty, though, climbs hard. Later chapters become extremely difficult, with some challenges feeling nearly impossible without hints, and testing solutions can take minutes to run even for optimal code in later levels.

















