All puzzles
THE Patterns COLLECTION

Unruly

A pleasing balance of black and white.

Patterns3–8 minStarter
Build up at your paceStart small. Move up when you feel ready.
Classic puzzle

Checking your saved puzzle…

Need a nudge?
Getting ready
Puzzle engine by Simon Tatham & contributors · MIT licence

Play Unruly online

Unruly fills equal black and white totals in every row and column, with no three consecutive identical colours horizontally or vertically. Distinct row patterns are an optional variant.

The goal

Fill the board with equal numbers of black and white squares in each row and column. Never place three of the same colour consecutively, horizontally or vertically.

A useful first step

Use both colour quotas and the no-three rule; neither replaces the other.

A worked example

Complete a four-cell row starting black, black

The teaching row has two black cells followed by two unknowns; crossing columns are omitted. This local example is not a complete level or daily answer.

  1. ●●??

    Spot the black pair

    The first two cells are black. Another black immediately after them would make a forbidden triple.

  2. ●●○?

    Make the next cell white

    The third cell must be white by the no-three rule alone.

  3. ●●○○

    Apply the four-cell quota

    Four cells require two blacks and two whites. Black's quota is already full, so the fourth is white too.

The row is black, black, white, white; a complete board must also satisfy crossing columns.

Questions about Unruly

What about black, unknown, black?

The middle must be white to avoid three consecutive blacks.

May colours repeat diagonally?

Yes. The no-three condition applies to rows and columns, not diagonals.

Are identical rows always forbidden?

Only when the optional unique-rows-and-columns setting is enabled.

Why must dimensions be even?

Every row and column must split its cells equally between black and white.

Rules adapted from Simon Tatham’s Unrulymanual. Read the credits and licence.

More Pattern puzzles to try

Browse all Pattern puzzles