Java applet to play an interactive gambling game with dice. This program will use text fields, a button, a random number generator, and if statements. The rules are as follows: The player will: a. Enter an (integer) original amount of available money in a text field. b. Enter an (integer) amount to bet in another text field c. Click a button to have the computer roll three dice. The scoring rules are: a. If all three dice match, the player wins 5 times the amount of the bet. b. If there are (only) two matching dice, the player wins twice the amount of the bet. c. If all three dice are different, the player loses the amount of the bet. The information shown in the applet window should include at least: a. The value of all three dice b. The amount won or lost on the most recent roll of the dice, and whether it was a win or loss. c. The amount of money remaining after it is adjusted by the amount in b above. Prevent the person from continuing to play when he or she has no remaining money. Add graphics showing the dice. Please note that this is a basic program using simple code. The code should not contain any advance screens, layouts etc. It should contain addActionListener(this), bet=[url removed, login to view],[url removed, login to view], and other necessary code along this line. The code must be easily understood and documented. This is a java applet. This is needed as soon as possible. Any questions, please contact me.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Borland JBuilder 6.0 Java applet