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.

No one is going to just give you the answer to the assignment, start coding something, and come back when you get stuck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.