Site icon TestingDocs.com

Number Guess Game Flowchart

Overview

In this post, we will model a Raptor flowchart to play a sample number guess game. The flowchart prompts the user to enter number guesses. If any of the user guesses match with the flowchart generated random number, the user Wins the game.

Generate Random Number

To generate a random number between the numbers 1 and 20.

floor((random*20) + 1)

This number is stored in secret.

Flowchart

Sample Output

Oops!.The guess is not correct
Oops!.The guess is not correct
Oops!.The guess is not correct
Congratulations, You Won the Game 🙂
—-Run complete. 33 symbols evaluated.—-

 

 

Raptor Tutorials on this website can be found at:

https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website: https://raptor.martincarlisle.com/

Exit mobile version