Design a java program in bluj

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

Your task is to write a program that simulates the childhood arcade game, Wac-A-Mole, using the Java Swing GUI. Your

program may be a JApplet or you can use the JFrame-based GUI.

The minimum requirements:

 Your program should use multiple layout managers to provide a label that presents information to the user (including the

final score) at the top, a 5x5 grid of buttons for the playing area in the center, and a “play again” button at the bottom that

is enabled only when the game is over.

 Your program should use a random generator to randomly select which button will display the mole icon. Each time the

correct button is selected 5 points are earned.

 Your program should use timers to control when to change the Mole’s position on the playing area every 2 seconds, unless

the correct button is clicked in which the Mole’s position is changed immediately and the timer is restarted, and the overall

game timer which limits each game to 30 seconds. These timers, and the buttons, should trigger listener events that are

handled appropriately by listener method(s) you define.

 Once the game finishes, all buttons should be blank (no icon) and the total points should be displayed in the label.

Java

Nº del proyecto: #10137310

Sobre el proyecto

1 propuesta Proyecto remoto Activo hace 7 años

Adjudicado a:

YannickSeiss

Dear Sir/Madam, I have a few questions regarding the allowed methods: Is it ok to go over the top? Can i use schedulers instead of timers? should it have stuff like a high score list? do you need a documentati Más

$25 USD en 1 día
(0 comentarios)
0.0