Find Jobs
Hire Freelancers

Design a java program in bluj

$10-30 USD

已完成
已发布大约 8 年前

$10-30 USD

货到付款
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.
项目 ID: 10137310

关于此项目

1条提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 documentation?
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
colorado springs, United States
5.0
14
付款方式已验证
会员自7月 19, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。