From 4543ac4f697e84dea42c475c280fadb190ef6d39 Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:05:07 +0530
Subject: [PATCH 1/7] Create number_guessing.py
---
Number Guessing/number_guessing.py | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Number Guessing/number_guessing.py
diff --git a/Number Guessing/number_guessing.py b/Number Guessing/number_guessing.py
new file mode 100644
index 00000000..c12b04d9
--- /dev/null
+++ b/Number Guessing/number_guessing.py
@@ -0,0 +1,25 @@
+import random, time
+print("Welcome to number guessing game !!!")
+time.sleep(2)
+#generate a random number
+x = random.randint(1, 10)
+print("The number is generated!!!")
+time.sleep(1)
+print("You have 4 chances to guess")
+#initialize the counter
+count = 4
+while count != 0:
+ a = int(input("Guess the number : "))
+ #if number guessed is correct, print correct
+ if a == x:
+ print("You are right, correct number is ", x)
+ print("Congratulations! You won")
+ break
+ #if guessed number is greater
+ elif a > x:
+ print("The number is less than ", a)
+ #if guessed number is smaller
+ else:
+ print("The number is greater than ", a)
+ #decrease the counter after each guess
+ count -= 1
From 8ee9fa7c7a4c4bbb3f17431737c723d9474473cc Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:06:12 +0530
Subject: [PATCH 2/7] Create madlibs.py
---
Madlibs/madlibs.py | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Madlibs/madlibs.py
diff --git a/Madlibs/madlibs.py b/Madlibs/madlibs.py
new file mode 100644
index 00000000..07b68a24
--- /dev/null
+++ b/Madlibs/madlibs.py
@@ -0,0 +1,23 @@
+import random
+print("Title : Eat, Drink, And Be Sick")
+noun = []
+for i in range(4):
+ n = input("Enter noun : ")
+ noun.append(n)
+plural = []
+for i in range(6):
+ pn = input("Enter plural noun : ")
+ plural.append(pn)
+adjective = []
+for i in range(2):
+ a = input("Enter adjective : ")
+ adjective.append(a)
+adverb = input("Enter adverb : ")
+letter = input("Enter any letter : ")
+body_part = input("Enter any body part : ")
+print("An inspector from the Department of Health and ", random.choice(noun) , " Services paid a surprise visit to our " , random.choice(adjective) , " school cafeteria.")
+print("The lunch special, prepared by our " , random.choice(adjective) , "dietician, was spaghetti and " , random.choice(noun) , " balls with a choice of either a " , random.choice(noun) , " salad or French " , random.choice(plural) , ".")
+print("The inspector found the meat-" , random.choice(plural) , " to be overcooked and discovered a live " , random.choice(noun) , " in the fries,causing him to have a " + body_part + " ache.")
+print("In response, he threw up all over his " , random.choice(plural) , ".")
+print("In his report, the inspector " + adverb + " recommended that the school cafeteria serve only nutritious " , random.choice(plural) , " as well as low-calorie " , random.choice(plural) , " and that all of the saturated " , random.choice(plural) , " be eliminated.")
+print("He rated the cafeteria a " + letter + "-minus.")
From 9576937efc17328748a77584ae54c90fd18c477b Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:22:30 +0530
Subject: [PATCH 3/7] Create Readme.md
---
Number Guessing/Readme.md | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 Number Guessing/Readme.md
diff --git a/Number Guessing/Readme.md b/Number Guessing/Readme.md
new file mode 100644
index 00000000..cbc6130a
--- /dev/null
+++ b/Number Guessing/Readme.md
@@ -0,0 +1,34 @@
+
+
+
+
+# Number Guessing
+
+
+
+
+## 🛠️ Description
+
+This is a simple game where you have to guess a computer generated number within 1 to 10. However, you can't guess it all. You have only 4 chances to guess the correct number.
+
+## ⚙️ Languages or Frameworks Used
+
+The only python module that is required is random.
+You can install it using ```pip install random```
+
+## 🌟 How to run
+
+Running the script is really simple! Just open a terminal in the folder where your script is located and run the following command:
+```python number_guessing.py```
+
+## 📺 Demo
+
+
+## 🤖 Author
+
+Shruti Solani
From 531db48f076ac1ee4b3c3e1d6448805931acffdd Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:22:56 +0530
Subject: [PATCH 4/7] Rename Readme.md to README.md
---
Number Guessing/{Readme.md => README.md} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename Number Guessing/{Readme.md => README.md} (100%)
diff --git a/Number Guessing/Readme.md b/Number Guessing/README.md
similarity index 100%
rename from Number Guessing/Readme.md
rename to Number Guessing/README.md
From 14e98a2751947ea85a8b7e02342bddedd462eedf Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:31:19 +0530
Subject: [PATCH 5/7] Update README.md
---
Number Guessing/README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/Number Guessing/README.md b/Number Guessing/README.md
index cbc6130a..927477a1 100644
--- a/Number Guessing/README.md
+++ b/Number Guessing/README.md
@@ -27,6 +27,7 @@ Running the script is really simple! Just open a terminal in the folder where yo
```python number_guessing.py```
## 📺 Demo
+
## 🤖 Author
From ceebda1c9df31338a90f8e25ad66541f5773d9ff Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:45:35 +0530
Subject: [PATCH 6/7] Create README.md
---
Madlibs/README.md | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 Madlibs/README.md
diff --git a/Madlibs/README.md b/Madlibs/README.md
new file mode 100644
index 00000000..074cf7d6
--- /dev/null
+++ b/Madlibs/README.md
@@ -0,0 +1,35 @@
+
+
+
+
+# Mad Libs Game
+
+
+
+
+## 🛠️ Description
+
+Mad Libs is a phrasal template word game. The player has to enter a set of words to substitute for blanks before knowing the story.
+
+## ⚙️ Languages or Frameworks Used
+
+The only module required is random. You can install it using
+```pip install random```
+
+## 🌟 How to run
+
+It is really simple to run the game. Simple head over to the directory where python file is saved and run the following command:
+```python madlibs.py```
+
+## 📺 Demo
+
+
+
+## 🤖 Author
+
+Shruti Solani
From 44dd5146ce7ef1c13c291e0b4adac20ea1eb277f Mon Sep 17 00:00:00 2001
From: ShrutiSolani <68545365+ShrutiSolani@users.noreply.github.com>
Date: Fri, 6 Aug 2021 15:51:29 +0530
Subject: [PATCH 7/7] Update README.md
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a32880cc..c8827158 100644
--- a/README.md
+++ b/README.md
@@ -198,7 +198,8 @@ SR No | Project | Description | Author
9 | [Smart Calculator](https://github.com/ndleah/python-mini-project/tree/main/Smart_Calculator) | A smart calculator using for basic math equations, built by using python. | [Leah Nguyen](https://github.com/ndleah)
10 | [Screenpet](https://github.com/ndleah/python-mini-project/tree/main/Screenpet) | A cute screenpet having different reactions when interact on desktop. | [Leah Nguyen](https://github.com/ndleah)
11 | [Egg Catcher](https://github.com/ndleah/python-mini-project/tree/main/Egg_Catcher) | Egg catcher game built in using Python. | [Leah Nguyen](https://github.com/ndleah)
-
+12 | Number Guessing | Number Guessing Game | [Shruti Solani](https://github.com/ShrutiSolani)
+13 | Mad Libs | Mad Libs Game | [Shruti Solani](https://github.com/ShrutiSolani)
##  Feedback
If you have any feedback or ideas to improve this project, feel free to contact me via