You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses the backtrack algorithm to simulate a sudoku game(generator and solver), based on difficulty level selected by the user. Made on python.
3
3
4
-
## Modules Used
4
+
## Modules Used🧩
5
5
The majority of this project is based on the numpy module to handle integer arrays in python. However, other modules include random and sys.
6
6
7
-
## Concepts Used
7
+
## Concepts Used➕
8
8
This project focuses on the practical and powerful usage of recursion, in the form of a backtracking algorithm. The program initially generates a solved sudoku puzzle
9
9
subject to the rules of the game, and then selectively empties cells to create an unsolved puzzle. This is done by taking into account the difficulty level selected by the user.
10
10
Care is taken to ensure that each sudoku puzzle generated by the program has only a singular, unique solution.
11
11
The game currently runs on a command line interface.
12
12
13
-
## Instructions to play
13
+
## Instructions to play🎮
14
14
1. Enter the difficulty of choice.
15
15
2. Enter the row and column you want to input the number
16
16
3. Input the number. If correct, it'll be updated on the board. IF not, the user will be asked to repeat steps 2 and 3.
17
17
4. If at any point you wish to surrender, you can do so and view the solution to the given puzzle.
18
18
19
-
## Learning Outcomes
19
+
## Learning Outcomes⚽
20
20
* Extensive usage of the numpy module helps in achieving fastn and efficient implementation of widely used algorithms such as backtrack algorithm
21
21
* Correct handling of recursive loops helps in understanding the full potential of recursive modular functions
22
22
* Sudoku puzzle takes into account a plethora of conditions to check while filing/unfilling of cells, which help understanding complex programming problems
23
23
24
-
## Future updates
24
+
## Future updates✈
25
25
A future update will have a GUI based complete sudoku game, with leaderboards. Under development!
0 commit comments