# Constructing and Solving Nonograms

Constructing and Solving Nonograms

Nonograms are logic puzzles in which cells in a grid must be colored or left blank according to numbers at the side and bottom of the grid to reveal a hidden pattern.

This Demonstration lets you construct a nonogram and then try to solve it. A grid of squares is given. For each square, you can either fill it in with gray or leave it as white. The numbers appearing to the right of the rows or under the columns give the lengths of the runs of gray squares in that row or column. For example, 1, 2 means there is one gray square followed by two; the number of white squares separating them, before the first one or after it, is not given.

The object of the puzzle is to find all the gray squares. Click a square to change its color. You may use yellow to indicate that a square is definitely not gray.