Figure 12-39 shows an example of how the GUI should look. Create a JavaFX application that simulates a slot 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.
The slot machine then displays a set of random images.
Slot Machine Simulation A slot machine is a gambling device into which the user inserts money then pulls a lever (or presses a button).