Hi , i will like to Design, Implement and test an Applet that will simulate throwing a die(dice).
Initially, the GUI displayed by the applet will show a button. Once this button is pressed, a random integer in the range 1 to 6 (representing the six faces of a die) will be generated. Having determined the number which has been generated once the button is pressed, the program should:
Play the sound of throwing a die.
Display an image of the face of a die.
Play a sound clip announcing a throw. For Example, for 4, the sound clip should say “You have thrown three”.
REMEMBER PROGRAM SHOULD BE IN SUCH A WAY THAT IT CAN BE RUN IN TEXT PAD
i will be glad if you could get back to me soo .THANK YOU .
Initially, the GUI displayed by the applet will show a button. Once this button is pressed, a random integer in the range 1 to 6 (representing the six faces of a die) will be generated. Having determined the number which has been generated once the button is pressed, the program should:
Play the sound of throwing a die.
Display an image of the face of a die.
Play a sound clip announcing a throw. For Example, for 4, the sound clip should say “You have thrown three”.
REMEMBER PROGRAM SHOULD BE IN SUCH A WAY THAT IT CAN BE RUN IN TEXT PAD
i will be glad if you could get back to me soo .THANK YOU .
Comment