This project is a console-based Sudoku Generator and Solver written in C. It allows users to generate Sudoku puzzles at varying difficulty levels and also solve custom Sudoku puzzles provided by the user.
- Sudoku Generator : Randomly generates a fully solved Sudoku puzzle, then removes cells based on difficulty to create a playable puzzle.
- Sudoku Solver : Solves both generated and user-input puzzles using backtracking.
- Difficulty Level : Adjustable between 40 to 65 blank cells for customized challenge level.
- Validations Included : Ensures that each generated puzzle has a unique solution.
- Language: C
- Libraries Used:
-
<stdio.h> – for input/output
-
<stdlib.h> – for memory management and random number generation
-
<stdbool.h> – for boolean logic
-
<time.h> – to seed the random number generator
-
- Clone the repository
git clone https://github.com/05-Jagritii/Suduko.git cd Suduko
- Compile the code using GCC
This generates
gcc Suduko_final.c
a.exe
file. - Run the program
.\a.exe
Suduko/
├── Suduko_final.c
└── README.md
Jagriti Kanwar
Mail : kanwarjagriti21@gmail.com
LinkedIn : Jagriti Kanwar