hi, I am trying to solve this game. The goal of this game is to fill a 4x4 grid of numbers so that each column, each row and each of the four 2x2 boxes (called regions) contains all of the numbers from 1 to 4. The figure below shows a Mini Sudoku board before and after being solved.
Define a Sudoku class with the following interface:
public class Sudoku
{
public Sudoku()
{
// create an empty sudoku board
}
public void enterNumber(int region, int cell, int number, boolean lock)
{
// method to insert a number into the board
}
public void print()
{
// method to print the board
}
}
You may define additional supporting methods, fields and classes.