急~~~~~求救悬赏50分:用JAVA编写一个游戏(请写下源代码和设计实现思想)

jeffsong0110 2007-03-02 06:33:59
游戏下载网址为http://www.kaifulee.com/modules/bbs/viewthread.php?tid=101683&extra=page%3D1
【基本要求】
(1)按照游戏规则实现玩这个游戏的功能;
(2)按照该游戏的记分规则记录玩者的分数;
(3)可以保存进度;
(4)用户可以自行设置颜色
【输入信息】程序运行后,运用菜单、鼠标、键盘操纵程序。
用户界面采用Swing窗口、组件。在Swing中还提供了一些使用起来很方便的布局管理器和组件
可以将所有内容借用文件存储起来。在Java程序中,可以将一个对象集合直接存储到文件中;也可以将文件中的内容直接读到一个集合对象中。
游戏规则
The goal of the game is to gain points by removing game pieces from the board. The pieces are removed when you arrange 5 or more pieces of the same color horizontally, vertically, or diagonally.

To make a move, click on the desired piece (it will start flashing), then click on a square where you want to move it. The flashing piece will move to the selected destination if there is a path of contiguous squares between the two locations. If as a result of the move 5 or more same color pieces become lined up, they are removed from the board and you are awarded game points. Otherwise, 3 new pieces will randomly appear on the board.

The special "smiley" piece can be used as a "joker", i.e. instead of any color.

In the Beginner level you score 1 point for each game piece removed from the field. The Intermediate level awards 2 points and Expert level gives you 3 points for each piece.
...全文
395 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
btq123 2007-05-06
  • 打赏
  • 举报
回复
看不懂E文/
kikikeke 2007-04-30
  • 打赏
  • 举报
回复
搞笑。
Geek618 2007-04-30
  • 打赏
  • 举报
回复
这个没什么难的,提供个思路吧:根据棋子的颜色,用两个for()循环,不停地刷新显示棋子!
这有点像五子棋的那个算法!
wddlqd 2007-04-27
  • 打赏
  • 举报
回复
开玩笑吧
terranhao 2007-04-26
  • 打赏
  • 举报
回复
悬赏50分~~~.......
CrazyGou 2007-04-25
  • 打赏
  • 举报
回复
are you kidding?
insiku 2007-04-25
  • 打赏
  • 举报
回复
50分就想要这个???
50块钱估计都没人做
WIN_ANGEL 2007-04-25
  • 打赏
  • 举报
回复
帮顶

62,612

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧