单机五子棋游戏的设计开发

单机五子棋游戏的设计开发[20200418172017]
山东青年政治学院 II
学生毕业论文(设计)诚信承诺书 II
摘 要 II
ABSTRACT III
摘 要
 *查看完整论文请 +Q: 3 5 1 9 1 6 0 7 2 
关键字:Android;java技术;五子棋 绪论
目录
一、 前言 - 2 -
(一) 五子棋简介 - 2 -
(二) 单机五子棋游戏发展现状 - 2 -
(三) 研究目的和意义 - 2 -
二、 可行性分析 - 3 -
(一) 技术可行性 - 3 -
(二) 经济可行性 - 3 -
(三) 法律可行性 - 3 -
三、 技术理论和开发工具的介绍 - 4 -
(一) Java的简单介绍 - 4 -
(二) Android平台 - 4 -
(三) Eclipse的简单介绍 - 5 -
四、 需求分析 - 6 -
五、 软件总体设计 - 7 -
(一)主要游戏流程 - 7 -
(二)主要功能模块 - 7 -
1. 人机对战模块 - 7 -
2. 人人对战模块 - 8 -
3. 蓝牙对战模块 - 8 -
六、 游戏设计具体实现 - 9 -
(一)欢迎页面 - 9 -
(二)关于页面 - 9 -
(三)菜单页面 - 10 -
(四)游戏代码 - 12 -
1. 游戏棋盘和下子 - 12 -
2. 游戏输赢的判断 - 14 -
3. 蓝牙对战实现 - 16 -
结束语 - 19 -
参考文献 - 20 -
致谢 - 21 -
伴随着网络和计算机技术的高速发展,Android手机技术普及越来越广泛。其带来的服务也是各种各样,早已成为了人们生活生产中不可缺少的极其重要的组成部分。同时,单机手机小游戏也在其推动下迅速发展。它拥有自己的优势:健康、便捷、互动性强、益智等,成为了大部分人娱乐休闲的首选。
本论文主要根据时下手机小游戏的发展趋势,充分发挥智能手机的便利性。本设计是基于Android技术的单机五子棋游戏。按照设计的要求,对该游戏进行分析,选择使用Eclipse开发工具,选择基于Android手机,运用Java和Android技术进行编写单机五子棋游戏。该程序实现了简单的人机对战、人人对战和简单的蓝牙联机对战的功能,用户可以自己选择自己喜欢的对战方式。单机五子棋游戏是一款Android手机版APP,所以操作和上手简单。此程序是要设计一个以简单五子棋为主题的,可以娱乐大众,休闲大众,具有一定的人工智能和益于智力的手机APP。程序设计的目的就是要编写一款适合大众、服务大众的单机游戏。
ABSTRACT
With the rapid development of network and computer technology, the Android mobile phone technology is becoming more and more extensive. Its service is various and convenience, it has become an indispensable part of people’s life. At the same time, the single cell phone game is also in its rapid development. It has its own advantages: healthy, convenient, interactive and intelligent, so it has become the first choice for most people’s entertainment and leisure.
This topic mainly according to the development trend of mobile phone games, take full advantage of the convenience of smart phones. This single backgammon game is based on the Android technology. In accordance with the requirements of the design, the game analysis, choose to use the eclipse development tools, selection based on the Android mobile phone, using the technology of Java and Android written Gobang stand-alone game. The program to achieve a simple man-machine war, everyone against the war and the simple Bluetooth online battle of the function, the user can choose their own favorite way of war.Gobang stand-alone game is a Android mobile phone version of the APP, so the operation and simple to use.This program is to design a Gobang simple theme, entertainment and public recreation, with certain artificial intelligence and the benefits of intelligence mobile phone app.The purpose of the program is to write a program for the public, the public service of a single game.
Key words: Android; Java technology; Gobang
随着社会的发展,目前全球Android手机受到了用户和行内人士的认可,手机用户也在快速增长。由于Android基于Linux内核且具有开源免费的特点,使它得到了许多手机应用程序开发商的关注,这也让基于Android开发的手机版游戏拥有了巨大的潜力。
手机性能的不断提高,不断解决传统手机的问题,这为开发Android手机版游戏提供了强大的后盾。随着智能手机的制作成本不断下降,Android手机在不断普及,现已成为了人们不可缺少的随身工具。手机游戏的趣味性和便利性,让手机游戏市场也不断扩大。
中华民族是一个有着几千年悠久历史的国家,棋类娱乐各式各样。其中五子棋文化渊源流长,具有东方的神秘色彩和西方的直观,是一个东西方文化的交织点。西方称之为“Gobang”。
现在生活节奏快,人们的压力大,为了可以获得更高的工作效率,工作之余的娱乐可谓很重要。五子棋,简单易学,又不缺乏趣味性和消遣性,还可以锻炼智力。而Android手机的五子棋游戏,让随处随时放松休闲成为了可能。
本设计主要研究Android手机版的五子棋游戏,实现简单的人机对战和人人对战。游戏界面是凭借Android平台提供的完美的控件和精美的布局所设计的。

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/3169.html

好棒文