Skip to content

Commit 16425c9

Browse files
committed
folder name updaed
1 parent 9ab623b commit 16425c9

File tree

8 files changed

+12
-59
lines changed

8 files changed

+12
-59
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
<h3>Sorting Hat Game</h3>
22
<hr>
33
<h4>Built With</h4>
4+
1.Python Tkinter
45
<hr>
5-
<b>1.Python Tkinter</b>
6-
<b>2.Library used</b>
6+
<b>Libraries used</b><br>
7+
78
tkinter- TKINTER is the standard GUI library used to provide fast and easy way to create GUI applications.<br>
89
random- RANDOM Module is a built-in module which is used to give random numbers or choices by providing a set of methods.<br>
910

11+
<hr>
1012
<h4>Aim</h4>
1113
It's aim is to assign a house name to the user when he/she clicks the button.
1214
<br>
13-
15+
<hr>
1416
<h4>Workflow of script</h4>
15-
<hr>
17+
1618
Step 1: Import all the packages listed above.
1719
Step 2: Then a list consisting of house names is created.
1820
Step 3: Function "pickHouse" is defined to randomly select a house for the user.
1921
Step 4: Then main window is created with a title and size. Label and button is added to the window.
2022
Step 5: When we run the program, tkinter window appears with a label and a button "Choose your house".When the button is clicked , the house name which is assigned to you is displayed.
21-
22-
<h4>Output</h4>
23+
<br>
2324
<hr>
24-
<b>Output Screenshot</b> <br>
25+
<h4>Output</h4>
26+
27+
<b>Output Screenshots</b> <br>
2528
PyGamesScripts\sorting hat game\Images\initial_img.png<br>
2629
PyGamesScripts\sorting hat game\Images\first_output.png<br>
2730
PyGamesScripts\sorting hat game\Images\second_output.png<br>
2831

32+
<hr>
2933
<h4>Author</h4>
3034
Kamakshi Singh

Diff for: PyGamesScripts/sorting hat game/requirements.txt renamed to PyGamesScripts/Sorting Hat Game/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Tkinter, random
33
<h5>tkinter Module</h5>
44
<p>
55
TKINTER is the standard GUI library used to provide fast and easy way to create GUI applications.<br>
6-
>> Tkinter provides some widgets few of them are listed below<br>
6+
>> Tkinter provides some widgets, few of them are listed below<br>
77
>LABEL- It creates a single line caption for the window.<br>
88
>BUTTON- It is used to display buttons on the window.<br>
99
>widgets.PACK() Method- It adds the widgets onto main window.<br>

Diff for: PyGamesScripts/sorting hat game/README.md.txt

-30
This file was deleted.

Diff for: PyGamesScripts/sorting hat game/sorting_hat_game.py.py

-21
This file was deleted.

0 commit comments

Comments
 (0)