Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 ) In Eclipse, implement Programming Challenge 9 , Slot Machine Simulation, in Chapter 1 2 of the eBook.Simplify the Programming Challenge by not implementing

1) In Eclipse, implement Programming Challenge 9, Slot Machine Simulation, in Chapter 12 of the eBook.Simplify the Programming Challenge by not implementing the "Total Amount Won" part.I put the part of the assignment that you need to implement in the box below.9. Slot Machine SimulationA slot machine is a gambling device into which the user inserts money then pulls a lever. The slot machine then displays a set of random images. If 2 or more of the images match, the user wins an amount of money that the slot machine dispenses back to the user.Create a JavaFX application that simulates a slot machine.The application should let the user enter the bet into a TextField.When the user clicks the Spin button, the application should display three randomly selected fruit images.The program should also display the amount that the user won for the spin.The amount won for a spin is determined in the following way:If none of the images match, the user won $0.If 2 of the images match, the user won 2 times the amount entered.If 3 of the images match, the user won 3 times the amount entered.Use the following fruit images. Each image is 200 pixels x 200 pixels.apple_200.jpg orange_200.jpg plum_200.jpg The stage title should be "Final Project by ********", where ******** is your first name and last name.For example, if your name is Tim Berners-Lee, then your graphical user interface should look likescreenshot_2-1.png

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Find the exact value of expression. sec sin 5

Answered: 1 week ago