You will be designing a simple Sudoku Game. The rules of Sudoku can be found on web. The rules are describeed.
The Data Element
Integer, value 0 - 9
The Data Structure
A two-dimensional array of Integers.
The Data Manager
A class that allows the user to start a new game, enter a value, and display all valid values for an entry in the puzzle. The Data Manager will manipulate the Data Structure. Implement the SudokuBoardManagerInterface interface which has been provided for you. The file for a new game is in the following format (0's are place holders and are not displayed):
o Display the Sudoku board. You may use a two-dimensional array of JTextboxes (not enabled), etc.
o Provide a way for the user to select a new game. Use the FileChooser to ask the user to select the new game file.
o Provide a way for the user to see all valid values for a particular entry (row,column) in the puzzle
o Provide a way for the user enter a value for a particular entry (row, column) in the puzzle.
- Provide an exception called InputOutOfRangeException if the user puts in an invalid value (1-9) for the row or column.
- Provide an exception called ValueNotValidException if the user enters an invalid value for this entry (row,column), based on the rules of Sudoku.