Skip to content

jackntm/sudoku-game-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Sudoku Game in Python

This project is a Sudoku game with a GUI built using Tkinter.
It includes both the Sudoku Validator (inspired by [LeetCode #36: Valid Sudoku])
and the Sudoku Solver (inspired by [LeetCode #37: Sudoku Solver]).

Features

  • Generate a complete Sudoku board.
  • Create a playable puzzle with a configurable number of clues.
  • Solve any valid Sudoku puzzle using backtracking.
  • Validate the current board state.
  • Simple GUI built with tkinter.

How to Run

python so.py

Make sure you have Python 3 installed.

Motivation

I wrote this project as daily practice after solving LeetCode 36 (Valid Sudoku)
and LeetCode 37 (Sudoku Solver). It helped me understand how to apply
backtracking and validation logic into a real mini-project.

Example

Click Full Board to generate a complete solution.

Click Puzzle to generate a random Sudoku puzzle.

Fill in the cells manually and use Check to validate.

Use Solve to let the program solve the puzzle for you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages