Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 583 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 583 Bytes

Sudoku-GUI-Game-AI-Solver

Playable Sudoku GUI Game + AI Solver using Java Swing and Backtracking

Brief Description of the Code:

  1. Create a frame and a 9x9 grid of textfields for input using swing
  2. Create a char array of a random valid sudoku board using backtracking
  3. Set 36 textfields in the grid to the respective sudoku board numbers and setEditable(false)
  4. Create 2 buttons - Check and Ai Solve
  5. Check can be used when the grid is entirely filled to check if the inputted answer is correct
  6. Ai solve can be used to solve the sudoku using the backtracking algorithm