Free black and white logic puzzle

Play Yin-Yang Online

Colour every cell black or white while both colours stay connected and no 2x2 block matches.

Grid size
Difficulty
Filled 0
Clues 0
Time 0:00

Generating a unique Yin-Yang puzzle...

Generating Yin-Yang

The puzzle builder is colouring a connected black group, a connected white group, and removing clues only while the answer stays unique.

What is Yin-Yang?

Yin-Yang is a black and white logic puzzle played on a square grid. Some cells are given as black or white clues, and your job is to colour every empty cell so the finished board obeys three clean rules.

All black cells must form one orthogonally connected group, all white cells must form one orthogonally connected group, and no 2x2 area may be entirely black or entirely white. This online Yin-Yang puzzle game gives you six grid sizes, three difficulty levels, hints, checking, undo and a uniqueness-tested puzzle generator.

  • Click or tap a cell to cycle it through black, white and empty.
  • Keep every black cell connected through edges.
  • Keep every white cell connected through edges.
  • Avoid every 2x2 square of one colour.
  • Each generated puzzle is checked for one unique solution.

How to play Yin-Yang online

Start with the fixed black and white clues. A useful first scan is every 2x2 square: if three cells in a 2x2 are already the same colour, the fourth cell must be the other colour.

Then look at connectivity. A colour that is about to split into two separate islands usually forces a bridge. A colour trapped behind the opposite colour is a warning sign, because the final Yin-Yang solution must leave both colours as single connected areas.

  • Use Black and White when you want to place a specific colour.
  • Use Check for feedback without revealing the whole solution.
  • Use Hint to add one correct cell from the unique solution.
  • Use Solution to study the complete answer.
  • Change size or difficulty at any time for a fresh puzzle.

Yin-Yang rules

The rules are short, which is why Yin-Yang is such a good logic game for beginners. You do not need arithmetic, symbols or regional cages. Every deduction comes from connected black cells, connected white cells and the 2x2 rule.

The 2x2 rule prevents large solid blocks, while the connectivity rules prevent isolated spots and cut-off regions. Together they create a puzzle that feels simple at first and surprisingly strategic as the grid grows.

  • Black cells connect only up, down, left and right.
  • White cells connect only up, down, left and right.
  • Diagonal touching does not connect a colour group.
  • A 2x2 block of four black cells is illegal.
  • A 2x2 block of four white cells is illegal.

Yin-Yang strategy tips

The strongest Yin-Yang strategy is to combine local and global thinking. Local deductions come from 2x2 blocks, edges and corners. Global deductions come from asking whether a colour can still connect to the rest of itself.

When a puzzle feels stuck, trace each colour as if it were a path of territory. If a move would seal off one black cell or one white cell forever, that move cannot be part of the solution.

  • Finish any 2x2 square where three cells already match.
  • Watch corners because they have fewer escape routes.
  • Avoid making a single isolated cell of either colour.
  • Use the edge of the grid to spot forced connections.
  • Do not guess if a connectivity bridge is available.

Grid sizes and difficulty

This Yin-Yang game includes 6x6, 7x7, 8x8, 9x9, 10x10 and 11x11 grids. Smaller grids are best for learning the rules. Larger boards create longer connection questions and more subtle 2x2 traps.

Easy puzzles keep more starting clues on the board. Medium puzzles remove more information, and hard puzzles ask you to hold several connectivity ideas at once. The generator only accepts a puzzle when the solver confirms a single solution, which is expected for a fair logic puzzle.

FAQ

Yin-Yang FAQ

What are the rules of Yin-Yang?

Colour every cell black or white. All black cells must be connected, all white cells must be connected, and no 2x2 block can be entirely one colour.

Can I play Yin-Yang for free?

Yes. This Yin-Yang puzzle game is free in your browser.

Do Yin-Yang puzzles need one solution?

A fair logic puzzle is expected to have a unique solution, so this generator checks each puzzle before serving it.

Which size should beginners choose?

Start with 6x6 easy, then move to larger grids when the connection logic feels natural.

Yin-Yang solved!