Slot machine simulation a slot machine is a gambling device


Slot Machine Simulation: A slot machine is a gambling device that user inserts money into and then pulls a lever (or press a button), and then the slot machine then displays a set of random images. If two or more of the images match, the user wins an amount of money, which the slot machine dispenses back to the user. 

Design a program using Raptor flowchart that simulates a slot machine. When the program runs, it should do the following:

  1. Ask the user to enter the amount of money he or she wants to insert into the slot machine.
  2. Instead of displaying images, the program will call a user defined function three times, each randomly select a word from the following list: Cherries, Oranges, Plums, Bells, Melons, Bars.
  3. If none of the randomly selected words match, the program will inform user that he or she has won 0. If two of the words match, the program will inform user that he or she has won two times the amount entered. If three of the words match, the program will inform the user that he or she has won three times the amount entered.
  4. The program will ask whether the user wants to play again. If so, these steps are repeated. If not, the program displays the total amount of money entered into the slot machine and the total amount the user won.
  5. if you please attached it as in Raptor file.

Solution Preview :

Prepared by a verified Expert
Business Management: Slot machine simulation a slot machine is a gambling device
Reference No:- TGS01591267

Now Priced at $25 (50% Discount)

Recommended (95%)

Rated (4.7/5)