Binary puzzle (Takuzu) techniques that solve any grid
A binary puzzle, also known as Takuzu or binairo, asks you to fill a square grid with two symbols. In Gridwise they are a sun and a moon, and in the examples below we write them as S and M. The rules are short. Every row and every column has equal numbers of suns and moons. No more than two of the same symbol may sit next to each other, in a row or a column. Some puzzles also show an = between two cells, meaning they match, or an x, meaning they are opposite.
Some takuzu and binairo variants add a rule that no two rows or columns may be identical. Gridwise's rule sheet does not list it, so do not rely on it here. The six techniques below need only the rules above. Each one is a small, repeatable pattern, and together they solve a well-made grid without a single guess.
1. Break up pairs
If two identical symbols are side by side, the cells on either end must be the opposite symbol, because a third would make three in a row. This is the first thing to scan for on any grid, in every row and every column.
Example, in a row of six: S S _ _ _ _. The third cell cannot be a sun, so it is a moon. Now try _ _ _ M M _. The cells on both ends of the pair must be suns, so the third and sixth cells are suns. Pairs at the very edge only give you one end to fill, since the other side is the wall.
2. Fill the gap in a sandwich
If two identical symbols have exactly one empty cell between them, that cell must be the opposite symbol. Put a sun in the middle and you would have three suns in a row.
Example: _ S _ S _ _. The third cell sits between two suns, so it is a moon. Sandwiches are easy to miss because the two symbols are not touching, so run your eye along each line looking for the shape X _ X. Pairs and sandwiches together usually give you the first handful of cells in any grid, and they often combine: a new moon from a sandwich can create a fresh pair next to it.
3. Finish a row once one symbol is used up
Every line needs equal numbers of each symbol. In a six-cell row that is three suns and three moons. When a line already contains its full quota of one symbol, every remaining empty cell has to be the other one.
Example: S S M S _ _. Three suns are already placed, so the last two cells are both moons, giving S S M S M M. Check the result against the three-in-a-row rule: no symbol appears three times together, so it is valid. Do this check for columns as well, as a row can be complete while its columns are not.
4. Read the clue symbols
A clue between two cells is a free deduction in disguise. An = says the two cells hold the same symbol, so the moment you know one, you know the other. An x says they are opposite, so knowing one gives you the other as well.
Clues also help before you know either cell. If two neighbouring cells are linked by =, they form a pair, so the cells at either end of that pair must be the opposite symbol. If two cells are linked by x, they contribute exactly one sun and one moon to their row or column, so you can treat them as settled and look at what remains of the count. Re-check the clues whenever you place a symbol next to one.
5. Chain the rules together
The real power comes from using techniques one after another. Each result becomes the input for the next.
Example, a six-cell row: M _ _ S S _. The pair of suns at the fourth and fifth cells forces the third and sixth cells to be moons, giving M _ M S S M. Now count: three moons are in place, so the second cell must be a sun. The finished row is M S M S S M, which has three of each and no triple. Neither technique alone finishes this row, but pairs followed by counting does it in two steps.
When you feel stuck, look for the line with the most filled cells and apply every technique to it, then move to the line crossing it. A cell you place in a row is also new information for its column.
6. Count the arrangements that are left
When a line has a few empty cells left, list how the missing symbols could be placed and discard the ones that break a rule. Often only one arrangement survives, or the cells you were unsure about turn out to be the same in every surviving arrangement.
Example: _ _ _ M S S. Two suns and one moon are placed, so the three empty cells must hold one sun and two moons. There are three ways to arrange them. S M M would put moons in the second, third and fourth cells, three in a row, so it is out. M S M and M M S are both legal. Either way, the first cell is a moon, even though the other two are still open. A crossing column will usually settle them.
This is the closest binary puzzles come to trial and error, and it is still pure logic. If you ever try a symbol and hit a contradiction, treat it the same way: it proves the other symbol belongs in that cell.
A routine that scales
On a fresh grid, sweep for pairs and sandwiches first, and mark the cells you can fill. Then check each line for a used-up symbol. Read the clue symbols. Then return to the lines with the fewest gaps and enumerate arrangements. Larger grids follow the same loop. They simply take more laps, and the later laps lean more on counting than on pairs.