JavaScript appears to be disabled. We recommend you enable JavaScript while visiting this site.

(All original content on this site is licensed under the Creative Commons License Attribution-Noncommercial-No Derivative Works 3.0.)

Sudoku observations and programmatic considerations

At the lowest level, any Sudoku puzzle consists of a number of squares.

There are rows times columns squares consisting of a single value.

There are x number of larger squares consisting of y values, where x is the smallest of rows and columns, and y is the largest of rows and columns.

As already mentioned, there are a x number of rows, as well as a y number of columns.

Overlap is possible, but the puzzle still consists of these basic parts.

Given the above:

  • Puzzle
    • Rows (int)
    • Columns (int)
    • Squares (collection of Square)
  • Square
    • Value (string)
    • Row (int)
    • Column (int)
    • Block (int) may not be required

Tags:

Categories: gaming

blog comments powered by Disqus