您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > 基于.Net的俄罗斯方块游戏设计与实现
HUNANUNIVERSITY毕业设计(论文)设计论文题目:基于.Net的俄罗斯方块游戏设计与实现学生姓名:张海川学生学号:20041610429专业班级:软件开发2班学院名称:软件工程指导老师:周军海学院院长:林亚平2008年5月29日湖南大学毕业设计(论文)第I页基于.Net的俄罗斯方块游戏设计与实现摘要俄罗斯方块游戏,从俄罗斯人阿莱克斯·帕伊特诺夫在八十年代末制作成功以来,以其规则简单,容易上手,游戏过程变化无穷,且能在娱乐中益智等特点,它已经成为一个家喻户晓老少皆宜的大众游戏。我设计的这款俄罗斯方块游戏,具有丰富的游戏操作功能,用户可以根据自己的操作水平和喜好进行相应的游戏操作设置,从而不仅使游戏初学者也能从中享受到成功的快乐,既便高水平的玩家也能品尝到挑战的刺激。游戏还可以保存前十名高分信息,让用户有不断挑战新高度的乐趣。该游戏在VisualStudio2005环境中使用C#开发实现。C#是基于面对象的开发设计的编程语言,面向对象的开发在近年已广为普及,成为软件开发最基本的方法。VisualStudio2005作为当前功能最为强大的可视化集成开发环境,它不仅支持传统的软件开发方法,更重要的是它能支持可视化的开发风格。同时它还提供了相当优秀的代码编辑、调试、向导、编译和可视化资源编辑等功能,这些强大的功能使它成为当今世界最好的系统开发工具之一。关键字:俄罗斯方块,面向对象的开发,集成开发环境湖南大学毕业设计(论文)第II页TheDesignandImplementofTetrisBasedon.netAbstractInthe1980s,aRussiannamedAlexPajitnovdesignedanddevelopedtheTetrisgame.AfterthattheTetrisgamehasbecomeawell-knownandallagesgamebecauseofitssimpleroles,easycontrollingandchangeablegamingprocess.TheTetrisgamethatIdesignedallowsyoutoplaythegameinyourownway.Playerscanchangetheconfigurationofcontrollerbythemselves,sonotonlybeginnerscanenjoythegame,butsomehighlevelplayersalsocanchallengethemselves.Besidesallabove,thegamecansavethetoptenscores,andthisfunctioncaninspireplayerstoreachhigherpeak.ThegameisdevelopedinC#withMicrosoftVisualStudio2005.C#isaprogramminglanguagebasedonOOP.TheOOPhasbeenwell-knowntoalltheseyearsandithasbeenabasicsoftwareprogrammingmethodnow.AsthestrongestIDE,theMicrosoftVisualStudio2005supportsclassicdevelopingmethodandvisualdevelopingaswell.Asthesametime,itsuppliesmanyfunctionssuchasoutstandingcodeeditor,debugger,Wizard,compiler,visualresourceeditorandsoon.Allthesestrongfunctionmakethistoolthebestoneintheworld.Keywords:Tetris,OOP,IDE湖南大学毕业设计(论文)第III页目录1绪论........................................................................................................................................11.1课题背景及目的..............................................................................................................11.2国内外研究状况..............................................................................................................11.3课题研究方法..................................................................................................................21.4论文构成及研究内容......................................................................................................22技术原理................................................................................................................................32.1编程语言..........................................................................................................................32.2面向对象..........................................................................................................................32.3GDI+.................................................................................................................................62.4.NETFRAMEWORK2.0.......................................................................................................72.5DIRECTSOUND组件..........................................................................................................82.6配置文件..........................................................................................................................92.7XML语言........................................................................................................................92.8多线程............................................................................................................................103系统设计..............................................................................................................................123.1系统设计思想................................................................................................................123.2运用的控件和主要对象................................................................................................133.3主要实现的功能............................................................................................................134系统实现..............................................................................................................................144.1屏幕信息初始化............................................................................................................144.2方块的实现....................................................................................................................154.3键盘输入事件处理........................................................................................................154.4方块的移动....................................................................................................................184.5方块的变换....................................................................................................................204.6游戏速度与自动下降....................................................................................................214.7满行判断及消行............................................................................................................234.8声音播放..................................................................................
本文标题:基于.Net的俄罗斯方块游戏设计与实现
链接地址:https://www.777doc.com/doc-6015436 .html