文档介绍:使用java开发连连看游戏
摘要
社会在发展,人类在进步,生活质量保证之余,各种游戏蜂拥而起,越来越受到各界人士的追捧,比如老少适宜的斗地主,深受广大女性喜欢的节奏大师,受高智商人群喜欢的棋牌类游戏等等,而连连看游戏是无人不知无人不晓的其中之一。
我这次的毕设题目是“使用java开发连连看游戏”,改项目使用Java语言为母本,以Eclipse为开发工具,用Swing组件为父本,进行游戏开发。这次毕业设的主要想法就是应用Swing组件和处理事件技术,绘制界面,通过代码实现随机二维数组,此外点击鼠标来实现各项功能。
连连看游戏除了实现以往版本的普通消除功能,还实现了特殊消除功能,即任意位置只要两张图片相同即可消除,此为这次毕业设计的最大亮点。此外我还对这次毕业设添加了背景音乐以炸弹功能,在用户体验方面做出了很大的思维突破。通过此次连连看游戏的设将,使我深刻理解了Swing组件,事件处理,java语言的三大特性——封装,继承,多态。这些都将为我以后开发程序打下了坚实的意识基础和能力基础。
关键词:连连看;Swing;数组
lian lian kan game using java developers
Abstract
Social development, human progress, I guarantee the quality of life, a variety of games swarmed into the sky, more and more sought after by all walks of life, young and old, such as the appropriate Landlords, the majority of women like the rhythm master, by intelligent people favorite readings, etc., and Jam game is one I do not know something well-known unmanned.
I have plete set entitled "lianliankan game using java developers" change project using the Java language as female to Eclipse as a development tool, with the parent of the ponents, for game development. plete set of the main idea is to use ponents and technology to handle the event, drawing interface, two-dimensional array by a random code, in addition to achieving the click of a mouse function.
Snake game in addition to achieving the elimination of the previous version of mon features, but also to achieve the elimination of the special features that any position can be eliminated as long as the same two pictures, this is the biggest highlight of plete set. Besides this, I also added plete set of background music to bomb function, the user experience has made a great breakthrough this Snake game design will make me a deep understanding of the ponents, event handling, the three characteristics of java language - encapsulation, inheritance, polymorphism. All these will I later developed the program laid a solid foundation and the ability to sense the foundation.
Keywords: li