Skip to content

Commit 08b43dc

Browse files
authored
Update READ_ME.md
1 parent 3f8af1e commit 08b43dc

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Sudoku_Game/READ_ME.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Sudoku Game
2+
The Sudoku game in Python.
3+
4+
Rules of the Game
5+
Sudoku is a number placement puzzle game that is played on a 9x9 grid. The goal of the game is to fill in the empty cells of the grid with numbers from 1 to 9, such that each column, each row, and each of the nine 3x3 sub-grids (also called "boxes" or "regions") contains all of the numbers from 1 to 9 without repetition.
6+
7+
The rules of Sudoku are as follows:
8+
9+
Each row must contain all numbers from 1 to 9 without repetition.
10+
Each column must contain all numbers from 1 to 9 without repetition.
11+
Each 3x3 sub-grid (box) must contain all numbers from 1 to 9 without repetition.
12+
The puzzle initially provides some numbers (called "givens") as clues. These numbers cannot be changed.
13+
The player's task is to fill in the remaining empty cells with numbers from 1 to 9, following the rules above.
14+
15+
Opening the game:
16+
Clone the repository or download the sudoku.py file.
17+
Open the file in a Python environment (e.g., IDLE, Jupyter Notebook, or any text editor with Python support).
18+
Run the script to start the game.
19+
20+
Requirements:
21+
import tkinter as tk
22+
from tkinter import messagebox,simpledialog
23+
import random
24+
25+
26+
Instructions to Play
27+
1. Run the game.Maximize the window.
28+
2. Select the level ("Easy","Medium","Hard") from the select level drop down. The grid will appear
29+
3. Select the cell you want to input. ("Input from 1-9")
30+
4. Finish Solving the puzzle and check your answer.
31+
5. Stuck at a particular stage? Use Solve button to view the solution
32+
6. You can use the new game button to create a new puzzle.
33+
34+
Screenshots:![Screenshot 2023-06-14 151023](https://github.com/smty2018/Amazing-Python-Scripts/assets/74114936/ba3f4aa4-277f-4458-acb3-c148d57dd5f9)
35+
![Screenshot 2023-06-14 151045](https://github.com/smty2018/Amazing-Python-Scripts/assets/74114936/ed63d309-1292-421c-8c84-02d1f9ea7ab8)
36+
![Screenshot 2023-06-14 171242](https://github.com/smty2018/Amazing-Python-Scripts/assets/74114936/b66a8f2f-c0b7-4916-a11d-eb4783cf7813)

0 commit comments

Comments
 (0)