Sudoku Kata
Your challenge, if you choose to accept it is to design a 4x4 Sudoku game that meets the following requirements.
- You should be able to print out the 4x4 Sudoku Grid to console e.g.
_ _ _ _
1 _ _ _
_ _ 2 _
_ _ _ _
-
Each Row should only contain the numbers 1 to 4 once
-
Each column should only contain the numbers 1 to 4 once
-
Each quadrant of the grid should only contain the numbers 1 to 4 once
-
The diagonals of the grid should only contain the numbers 1 to 4 once
-
Once the grid is filled with numbers and is validated by the rules above the game should end
-
The game should be expandable to a 9x9 grid with similar rules to the above containing the numbers 1 to 9