0% found this document useful (0 votes)
5 views1 page

Script

The document outlines the flowchart and step-by-step process of a guessing game where players attempt to guess a randomly generated number between 1 and 100. Players receive hints based on their guesses and can choose a difficulty level at the start. The game continues until the player guesses correctly or reaches the maximum number of attempts, resulting in either a win or a loss message.

Uploaded by

justcallmemrx9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Script

The document outlines the flowchart and step-by-step process of a guessing game where players attempt to guess a randomly generated number between 1 and 100. Players receive hints based on their guesses and can choose a difficulty level at the start. The game continues until the player guesses correctly or reaches the maximum number of attempts, resulting in either a win or a loss message.

Uploaded by

justcallmemrx9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Good morning everyone, now that we have understood the key aspects of our project.

Now, let’s go through the flowchart, which explains the logic behind how it works. Let me walk
you through it step by step.

1. The game begins when the player starts the program.

2. After game begins a random number between 1 to 100 is generated.

3. In next the player is prompted to enter a guess.

4. Now it compairs the guess and the random number

5. If equal then it’s show the message “it’s correct” and redirected to new game.

6. If not equal then it checks is the guess is greater than the random number.

7. If yes then it’s gives the hints that “your guess is high” and redirected to input the guess
again.

8. If no then it’s gives the hints “yours guess is low” and redirected to input the guess again.

9. The player continues guessing based on the hints provided until they either guess correctly or
reach the attempt limit. If the maximum limit reached then it’s shows “you loose” and promote
for new game.

Now we have understood the flowchart, let’s move on to the step-by-step working of the game,
which is the pov of an user

1. When the game starts, the player is welcomed with a startup screen, where user is given an
option to choose the difficulty level.

2. Once a difficulty level is selected, the player is prompted to enter a number between 1 and
100, where the game stores the guesses and the number of attempts.

3. When the guess is high then it shows “yours guess is high”.

4. When the guess is Low then it shows “yours guess is Low”.

5. When the guess is correct then it shows “It’s correct”.

6. In losing scenario it shows “You loose!!”.

With this, my part of the presentation comes to an end. Thank you for your attention!.

Now, I’d like to hand it over to Raziah , who will take you through the features of the game.

You might also like