电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

信息与计算科学-三叶虫的进化(2048)小游戏的开发与设计论文

信息与计算科学-三叶虫的进化(2048)小游戏的开发与设计论文_第1页
1/33
信息与计算科学-三叶虫的进化(2048)小游戏的开发与设计论文_第2页
2/33
信息与计算科学-三叶虫的进化(2048)小游戏的开发与设计论文_第3页
3/33
三叶虫的进化(2048)小游戏的开发与设计摘要 三叶虫的进化(2048)小游戏是一款几乎人尽皆知的数字益智类单人小游戏。最早于2014 年 3 月 20 日发行首先在 GitHub 上发布,原作者是 Gabriele Cirulli,后被各个平台运用。缓解生活压力、调节情绪是这款小游戏的初衷。我们采用 Java 语言和 eclipse 软件来重新开发了一款界面清晰且具有四个关卡的 2048 游戏,对游戏的界面、地图、关卡、音效、控制、积分等进行了设计。在设计中,我们借助了 JFrame 类构建我们的游戏窗体,调用关卡对象的 initView()方法来进行界面的搭建,创建一个 JLabel 对象来显示文本或者图像,使用 KeyEvent 类来表示组件中发生的键击事件,比如 KeyAdapter 对象实现 KeyListener 接口,将空白方块放入 List 集合,不为空的集合,则使用 random 类来创建对象。以此实现了一个更简洁易操控的 2048 小游戏。关键词 三叶虫的进化(2048)小游戏 益智 简洁The development and design of the trilobite evolution (2048) mini-gameAbstract Trilobite evolution (2048) mini-game is an almost well-known digital puzzle class single small game. First posted on Github on March 20,2014, by Gabriele Cirulli, then used by various platforms. Alleviate the pressure of life, adjust the mood is the original intention of this small game. We use the Java language and eclipse software to re-develop a clear interface and has four levels of the game 2048, the game interface, map, levels, sound, control, integration and so on. In our design, we use the JFRAME class to build our game form, call the initView() method of the level object to build the interface, and create a JLabel object to display text or images, keyevent classes are used to represent the keystroke events that occur in the component, such as the KeyAdapter object implementing the KeyListener interface, placing blank squares into the List collection, or using the random class to create objects if the collection is not empty. With ...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

信息与计算科学-三叶虫的进化(2048)小游戏的开发与设计论文

您可能关注的文档

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部