Sun & Shade: a binary puzzle (Takuzu) you can finish on your phone
Fill the garden with sun and shade. No three squares of the same kind may line up next to each other, and every row and column holds exactly as many suns as shades. Three boards a day, sized to fit a phone screen.
How to play Sun & Shade
Some squares are already given; they have a tinted background and cannot be changed. Fill every other square with a sun or a shade so that:
- No three in a row. Three suns or three shades may never sit next to each other in a row or a column. Two together are fine.
- Equal counts. Every row and every column has the same number of suns and shades – three of each on a 6 × 6 board, four of each on 8 × 8, five of each on 10 × 10.
Tap a square once for a sun, twice for a shade, a third time to clear. On a keyboard, use the arrows and press S for sun, D for shade and Backspace to clear. When three alike line up, or a line has too many of one kind, the squares involved get a red outline so you can fix the slip before it spreads.
Sun and shade are shown as two different shapes – a round sun with rays and a small parasol – not just two colors, so the board reads the same in dark mode, in print and for color-blind players.
The three basic deductions
Pair: two equal squares side by side force the opposite kind on both ends, because a third would make three in a row. Sandwich: two equal squares with one gap between them force the opposite kind into the gap. Count: once a line has its full quota of one kind, every open square left in it is the other kind.
Try the six-square row lab to see which blanks a pair actually fixes. These three moves are all a Sprout board needs. Bloom and Grove boards add counting arguments over a whole line, which the binary puzzle rules guide explains with real positions from our boards.
The three levels
| Level | Board | Given squares (average) | New idea at this level | Logical steps (average) |
|---|---|---|---|---|
| Sprout | 6 × 6 | 9.7 | Pair, sandwich, count | 21.3 |
| Bloom | 8 × 8 | 16.6 | “Last one”: a line missing only one sun or one shade | 35.8 |
| Grove | 10 × 10 | 21.6 | Full line counting with several suns and shades still missing | 47.3 |
Bigger boards have more givens in absolute numbers, but proportionally fewer: about 27% of the squares on Sprout, 26% on Bloom and 22% on Grove. Every given that our generator could remove without making the puzzle unsolvable at its level has been removed, so each one you see is doing work.
The “last one” idea deserves a word. When a row of eight still needs one sun and three shades, the sun can only go where three shades would not end up side by side. Usually that leaves exactly one place for it. In all 60 Bloom boards of the test period the solver needed this move at least once, and on all 60 Grove boards it also needed the general version with two or more of each kind missing.
Designed for a phone
Binary puzzles are often published in large sizes such as 12 × 12 or 14 × 14, which are hard to tap accurately on a phone. We keep the largest daily board at 10 × 10 so that each square stays at least about 30 pixels wide on a 390-pixel-wide screen, the size of many current phones held upright. The board never scrolls sideways, the controls sit below it rather than beside it, and nothing moves under your finger while you play.
Your progress is saved in your browser after every tap. If you close the tab on the bus and reopen it at home on the same device, the board is exactly as you left it. Nothing is sent to us: there is no account and no server-side scorebook.
Binary puzzle, Takuzu, sun and shade
The puzzle type is known under several names. “Binary puzzle” describes the two symbols, often written as 0 and 1; “Takuzu” is a widely used name in puzzle books and apps; Simon Tatham’s free collection has a close relative called Unruly. Some versions add a third rule that no two rows (and no two columns) may be identical. Our boards do not use that rule – every deduction follows from the two rules above alone, and the generator checks that the solution is unique without it.
We chose sun and shade instead of digits because the puzzle is easier to read with two shapes than with 0 and 1 – especially for players who mix up similar digits – and because it fits the garden. The logic is exactly the same.
Questions and answers
Is “no two identical rows” a rule here?
No. Only the two rules on this page apply: no three alike in a line, and equal numbers of suns and shades in every row and column. Every board has exactly one solution under those two rules.
Why do the boards have even sizes?
Equal counts are only possible when every row has an even number of squares, so the boards are 6 × 6, 8 × 8 and 10 × 10.
What do the red outlines mean?
They mark a rule break you can see on the board: three alike next to each other, or more suns or shades in a line than it can hold. They do not tell you whether an unbroken square is correct.
Can I solve it without hints?
Yes – every board is guaranteed to be solvable by logic alone. Hints are there for the moments when you want to know the next step and why it works.
Does the puzzle work offline?
Once the page has loaded, the puzzle runs entirely in your browser. You can keep playing if the connection drops; only loading a new page needs the network.
Sources and further reading
- Simon Tatham’s Portable Puzzle Collection – free, open-source implementations of many grid puzzles, including Tents and a binary puzzle called Unruly
- Takuzu on Wikipedia – overview of the puzzle and its variants
- W3C Web Content Accessibility Guidelines (WCAG) overview – the basis for our contrast, keyboard and “not by color alone” choices
- Our own method notes: About & method and What makes a logic puzzle fair?
Reviewed November 22, 2026 · Checked against the puzzle engine described on the About & method page.