stefan-brus / nonogrid

Nonogram game implementation in javascript.
1 stars 1 forks source link

Add solvable nonogram functionality #2

Open stefan-brus opened 10 years ago

stefan-brus commented 10 years ago

In addition to the grid, the app needs to keep the solution of the current nonogram in memory. This solution should be used to display clues in the row and column headers around the grid.

The app should be able to randomly generate nonograms. This function could, for example, take as input the "denisty" of filled squares. So an input of 0.5 would fill approximately half the squares in the grid.