Skip to content

A program to solve a Sudoku puzzle by filling the empty cells

Notifications You must be signed in to change notification settings

devikamanoj/Sudoku-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

SUDOKU SOLVER

Sudoku is a logic-based,combinatorial number-placement puzzle. this is a program to solve a Sudoku puzzle by filling the empty cells.

OBJECTICE

To fill the 9x9 grid with digits so that each column, each row, and each of the nine 3 × 3 subgrids contain all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which for a well-posed puzzle has a single solution.

IMPLEMENTATION

  • Sign In with the Username and Password of the user
  • Enter the level of difficulty in which the user want to play
  • The user can solve the puzzle by entering the number and the place where they need to place the number.

Files Required

  • Account.txt : Contains the name, username and password of the user
  • Methods.java : Contains the main methods for the working of Sudoku puzzle
  • Players.java : Contains the methods needed for the players to enter their datas
  • SudokuInitialise.java : Contains the sudoku puzzle of different levels

RULES:

  • Use Numbers 1-9 : Sudoku is played on a grid of 9 x 9 spaces. Within the rows and columns are 9 “squares” (made up of 3 x 3 spaces). Each row, column and square (9 spaces each) needs to be filled out with the numbers 1-9, without repeating any numbers within the row, column or square.
  • Don’t Repeat Any Numbers : The number should not repeat in the same column, row or in the same grid
  • Use Process of Elimination : Find out which spaces are available, which numbers are missing – and then deduce, based on the position of those numbers within the grid, which numbers fit into each space.

OUTPUT


New Player

Old Player

Unsolved Sudoku

Solved Sudoku

About

A program to solve a Sudoku puzzle by filling the empty cells

Topics

Resources

Stars

Watchers

Forks

Languages