预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共36页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGE\*MERGEFORMATV 太原科技大学华科学院毕业设计(论文) PAGE\*MERGEFORMATI 基于JAVA的拼图游戏 基于JAVA的拼图游戏 摘要 JAVA语言是由美国sun公司开发的一种完全面向对象的程序设计语言,它由c++语言发展而来,但比c++语言简单。JAVA语言具有简单、与平台无关、高效、健壮、安全、多线程等特点,是当前网络编程中的首选语言。本文主要通过JAVA语言来开发一个小游戏,以实现其相关功能。 随着社会的发展,计算机已经成为人么日常生活,学习办公中不可缺少的一部分,并在各个领域发挥着重要的作用。在计算机迅猛发展的影响下,计算机游戏也随之兴盛起来。拼图游戏就是其中一中,它适用范围广,老少皆宜。该游戏不仅可锻炼动手能力,观察能力,而且还能培养人与人之间的协作能力。它是一个应用程序,它的游戏规则和win7的拼图游戏是一样的。将一张图片分割成16张小图,将除去左上角的其余15张图片放入一个4*4的网格内,通过鼠标的点击图片来切换空白处对换位置,让其复原成原来的顺序,游戏就完成了。可以选择下一张来切换另一张图片,或者按开局重新开始游戏。 关键词:JAVA2平台标准版,JAVA语言,小应用程序 JigsawpuzzlebasedonJava abstract JAVAlanguageisdevelopedbythesunafullyobject-orientedprogramminglanguage,itisdevelopedbyc++language,butsimplerthanc++language.TheJAVAlanguagehasasimple,platform-independent,efficient,robustandsecurity,multithreading,isthepreferredlanguageinthecurrentnetworkprogramming.ThispapermainlythroughtheJAVAlanguagetodevelopasmallgame,inordertorealizeitsrelatedfunctions. Withthedevelopmentofthesociety,thecomputerhasbecomethepeopledailylife,anindispensablepartoflearningintheoffice,andplayanimportantroleinallfields.Undertheinfluenceoftherapiddevelopmentofcomputer,computergameshasbeenthriving.Jigsawpuzzleisamongthemone,itsapplicabilityiswideandforyoungandold.Thegameisnotonlycanexerciseability,observationability,butalsocancultivateinterpersonalcooperationability.ThispuzzlegameisbasedontheJ2SEplatformdevelopment,itisanapplication,itistherulesofthegameandwin7puzzlegameisthesame.Picturewillbedividedinto16images,willremovetheupperleftcorneroftherestofthe15imagesina4*4mesh,theblankspacewiththemouseclickontheimagetoswitchswitchposition,makeitsrecoveryastheoriginalsequence,thegameisfinished.Canchoosethenexttoswitchtheotherpicture,orpressstarttostartthegame. Keywords:Java2Platform,StandardEdition,JAVAlanguage,application. 目录 TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc320439946"摘要 Ⅰ HYPERLINK\l"_Toc320439947"Abstract Ⅱ HYPERLINK\l"_Toc320439948"第一章概述 1 HYPERLINK\l"_Toc320439949"1.1项目开发的背景与国内外研究现状 1 H