Slot machine simulation java program

broken image
broken image

broken image

If none of the randomly displayed images match, the user has won $0.The amount won for an individual spin will be determined as follow: The program should also display the amount that the user won for the spin, and the total amount won for all spins. When the user clicks the Spin button, the application should display 3 randomly selected symbols. The application should let the user enter into a TextField control the amount of money he or she is inserting into the machine. If two or more of the images match, the user wins an amount of money that the slot machine dispenses back to the user.įor this assignment, you are to create a JavaFX application that simulates a slot machine, it should look similar to the screenshot below

broken image

The slot machine then displays a set of random images. A slot machine is a gambling device into which the user inserts money, then pulls a lever (or presses a button).

broken image