Concepts: Arrays, Loops, Functions, If-else
Sudoku (数独 sūdoku?, Digit-single) i/suːˈdoʊkuː/, originally called Number Place, is a logic-based, combinatorial number- placementpuzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the
grid (also called "boxes", "blocks", "regions", or "sub-squares") contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which typically has a unique solution.
Completed puzzles are always a type of Latin square with an additional constraint on the contents of individual regions. For example, the same single integer may not appear twice in the same 9×9 playing board row or column or in any of the nine 3×3 subregions of the 9×9 playing board.
The puzzle was popularized in 1986 by the Japanese puzzle company Nikoli, under the name
Sudoku, meaning single number. It became an international hit in 2005.
Write a java program to model the Sodoku game.
Create a 9 X 9 matrix inside main. Write a function or functions to check whether the solution is as per the rule.
After that we can think of developing the Game for playing the sudoku.