Mini Project
Guess the number..
Using Python
Asking the user’ name..
01 Asking user to enter their
name..
Asking user to guess
02 number.
Asking user’s to Guess the
number between 1 to 100..
If number matches …
03 If the number given by user is
equal to the number generated
by user ,then shows
Congratulations or else shows
Try again….
04 If number is less
If the guessed number is less
then generated number then
shows too low..
If number is greater
05 If the guessed number is higher
then generated number then
shows too high….
# 1. Scores
Additional feature 2. Attempts
Adding additional features to the
game…
Adding Scores ………
The initial score of the user will be 100…
On every wrong attempt the score will deduct by -10 from the score….
On every right attempt the score will increase by +10 in score…
The maximum attempt will 4 or 5 …..
When the maximum number of attempt will exceed the game will be over…
When the score will be zero then again the game will be over……..
THANK YOU
Sumit Vishwakarma
A1