Skip to content

An app that solves Sudoku puzzles using a brute-force approach, with a GUI built using the Java Swing library.

Notifications You must be signed in to change notification settings

NatanProtector/Sudoku-Solver-Java-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Sudoku Solver - A Java Solution to the Classic Puzzle

View on Youtube

Description

An app that solves Sudoku puzzles using a brute-force approach, with a GUI built using the Java Swing library.

About

I created this project during my first year of college in 2021. I developed it after learning to solve mazes using DFS. I figured I could use the same approach to solve a Sudoku puzzle. The project seems simple by my standards today, but I still appreciate it as it was a significant achievement for me back then. It was before ChatGPT, so coding this was a real challenge for a beginner.

To Compile

To compile the Java files, use the following command:

javac -d out .\src\*.java

To Run

Once the project is compiled, run the game with the following command:

java -cp out SudokuSolverMain

Features

  • User-friendly GUI using Java's Swing library for easy input of a puzzle to solve.
  • Brute-force approach produces interesting results: some puzzles solve easily, while others take a long time.

About

An app that solves Sudoku puzzles using a brute-force approach, with a GUI built using the Java Swing library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages