Skip to content

anshuc1440/Sudoku-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview:

This Sudoku Solver project provides a comprehensive solution for solving Sudoku puzzles efficiently and interactively. It consists of two main components: solver.py and gui.py.

Features:

Solver Module (solver.py):

  • Implements the backtracking algorithm to solve Sudoku puzzles.
  • Provides functions for checking the validity of moves and finding empty cells on the board.
  • Enables systematic and efficient solving of Sudoku puzzles.

Graphical User Interface (gui.py):

  • Utilizes the Pygame library to create a user-friendly interface.
  • Allows users to input Sudoku puzzles visually and view the solution on the screen.
  • Provides functionalities such as highlighting selected cells, sketching temporary values, and solving puzzles with a single click.

Usage:

Solver Module:

  • Import solver.py into your Python project.
  • Utilize the solve, valid, and find_empty functions to solve Sudoku puzzles programmatically.

Graphical User Interface:

  • Run gui.py to launch the Sudoku Solver application.
  • Input your Sudoku puzzle using the GUI interface.
  • Use the mouse and keyboard to interact with the application, selecting cells and entering values.
  • Click the solve button to automatically solve the puzzle and view the solution.

Installation:

Clone the repository:

git clone https://github.com/your-anshuc1440/sudoku-solver.git

Install dependencies (Pygame library):

pip install pygame

Screenshots:

Image of sudoku board

image when user is playing sudoku

Image while sudoku game is being solved

Contributing:

Contributions to the Sudoku Solver project are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages