资源描述:
《迷宫游戏计算机毕业设计论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、基于Java的迷宫游戏摘要迷宫游戏是我们最常见的游戏之一,该游戏出现在手机游戏、掌上游戏机和电脑游戏当中,因此迷宫游戏也是一个十分经典的游戏。一般的迷宫游戏比较简单,游戏中随机出现一些障碍,要求玩家能够找出一条从起点到终点的通路。它看似简单确变化无穷,迷宫游戏上手及其简单,但要熟练的掌握其中的奥秘且快速找出一条通路,难度却不低。作为家喻户晓老少皆宜的大众游戏,其普及程度可以说是史上任何一款游戏都无法比较的。本设计是一款基于Java的迷宫游戏。目前用于游戏开发的计算机语言多种多样,而Java只是其中一种。然而,Java是现在全球最时髦的开发工具之一,它拥有
2、一套庞大且完整的类库,内置了其他怨言需要靠库甚至是操作系统才能支持的功能。所以,程序员可以很容易的用Java编写并运行基于Java的游戏。本文从游戏的背景研究和发展现状开始,详细描述了整个游戏的制作过程。对实现功能以及操作过程进行了重点讨论,开发用到了Java类库中的许多包以及其中的类,例如java.util包,java.lang包,java.awt包等等,稳重会对这些包和类的用法进行讲解。关键词游戏;迷宫;Java;算法48AbsractJava-BasedMazeGameMazeGameisoneofthemostcommonofourgame,th
3、egameappearedinmobilegames,handheldgameconsolesandcomputergameswhich,thereforemazegameisaveryclassicgame.Generallyrelativelysimplemazegame,thegamerandomlysomeobstacles,requiringplayerstobeabletofindapathfromstarttofinish.Itseemssimpleindeedenormous,anditssimplemazegamestarted,but
4、askilledmastermysterycutquicklyidentifyapath,thedifficultyreallyisnotlow.Asawell-knownpopulargameforallages,itspopularitycanbesaidthatthehistoryofanygamecannotbecompared.ThisdesignisaJava-basedmazegame.Currentcomputerlanguageforavarietyofgamedevelopment,andJavaisjustoneofthem.How
5、ever,Javaisnowoneoftheworld'smostfashionabledevelopmenttools,ithasalargeandcompletelibrary,built-inlibraryorothercomplaintsneedtorelyontheoperatingsystemtosupportfunctions.Therefore,theprogrammercaneasilywritteninJavaandrunJava-basedgames.Inthispaper,thestatusofresearchanddevelop
6、mentbackgroundofthegamebegan,adetaileddescriptionoftheentiregameproductionprocess.Therealizationoffunctionsandoperationsarefocusedontheprocess,thedevelopmentoftheJavaclasslibrariesusedinmanypackagesaswellasoneofthecategories,suchasjava.utilpackage,java.langpackage,java.awtpackage
7、andsoon,willthesepackagesandsteadytypeofusagetoexplain.Keywordsgame;maze;JavaLanguage;algorithm48目录1绪论51.1课题的研究背景与意义51.2Java简介51.2.1名字起源51.2.2发展历史51.2.3语言特征51.2.4开发平台62可行性研究72.1可行性分析72.1.1技术可行性72.1.2经济可行性72.1.3操作可行性72.1.4法律可行性73需求分析83.1系统初步分析83.1.1用户需求分析83.1.2功能需求分析83.1.3系统的可靠性和可
8、用性需求分析84总体设计94.1系统开发94.1.1系统开发的原则94.1.2系