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.
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.