Java Slot Machine Simulation Game
Additional Instructions:No matter how simple or complex the game is, Java can do the job! On this post, let's take a look at how beginners of Java programming can make a simple, yet fully functional slot machine. Write a java application program that simulates a simple slot machine in which three numbers between 0 and 9 are randomly selected and printed side by side. The program will allow the user to place a bet, and then make a payout if any two of the numbers are the same, or if all three numbers are the same. Video blackjack odds. In-house experts and professional coders at AIS Technolabs have mastery of developing Java slot machine source code and are known to handle complex coding solutions in almost all coding languages. Largest slot machine payout in history. We serve you the best possible solution as per your requirements.
Java Slot Machine Simulation Software
CIS 166 – Java ProgrammingProfessor RodriguesSlot MachineSlot Machine SimulationA slot machine is a gambling device into which the user inserts money, then pulls a lever (or presses a button). 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 that the slot machine dispenses back to the user.For this assignment, you are to create a JavaFX application that simulates a slot machine, it should look similar to the screenshot belowThe application should let the user enter into a TextField control the amount of money he or she is inserting into the machine. When the user clicks the Spin button, the application should display 3 randomly selected symbols. (The images are attached on Blackboard). The program should also display the amount that the user won for the spin, and the total amount won for all spins.The amount won for an individual spin will be determined as follow:· If none of the randomly displayed images match, the user has won $0.· If two of the images match, the user has won two times the amount entered.· If three of the images match, the user has won six times the amount entered.Extra Credit:Modify the program so that the user starts with $1000 dollars, and loses money (or gains money) each time they play. Keep track of their balance, and prevent them from playing if their balance reaches 0. Also do not let them bid more than they have.Commenting and Programming StyleThe first 3 lines of you program should have a multiline comment (Starting with /* and ending with */). High variance slot machines. This should include the author's name, the date and the purpose of the assignment.You should create a documentation comment before every class header and method header (Starting with /** and ending with */). For now, the comment only needs to describe the purpose of the method. We will improve our comments throughout the semester. A sample is provided below.Don't forget to add spaces before and after every operator and to align braces. Within the start method and functions use single lines comments to explain what you are doing throughout the program.Submission and Grading:Submit all your java files and the UML diagram through Blackboard. You can compress the files if you want.Your grade will be determined based on the following rubric: Task Points Proper Setup of images 10 points Proper Controls created 10 points Proper Layout Container 10 points Proper Scene 10 points Proper Stage set up 10 points Proper Event handler to modify images and labels 10 points Proper Randomization and game logic 30 points Documentation & Style 10 points Total 100 pointsPenaltiesIf the program does not compile or run, 30 points will be deducted from your total.It is very important to test your program!