2048游戏课设

  • 格式:docx
  • 大小:1.08 MB
  • 文档页数:42

嵌入式系统综合设计说明书

题 目:基于android平台的数字移动乐游戏

****:***

学 院:信息工程学院

班 级:计算机13-1班

指导教师:刘志强 王晓强 张志华 田雨

二 〇 一 六 年 七 月 学校代码: 10128

学 号: ************

基于android平台的数字移动乐游戏

摘要

现如今,基于android平台的游戏已经慢慢的渗透了我们每个人的生活中,扮演着越来越重要的角色。可以说,随着手机软件的迅猛发展,手机游戏已不仅仅是一个简单的供人们消遣、娱乐的活动,它已成为一种潮流、一种文化,就如同如今的我们离不开手机一样,几乎人们的每一个手机上都会下载一款游戏。

基于android平台的数字游戏—2048,它是一款益智类的游戏,集娱乐性、趣味性、教育性于一身。益智类游戏有助于开发人类的大脑,通过开动大脑去获取游戏的胜利。这样通过娱乐获取知识,做到了在娱乐中学习,娱乐中成长。

本文通过对基于android平台的数字移动乐游戏的初步研究,确定了开发一款2048游戏。该款游戏主要实现了用户通过注册登录后进入游戏界面,然后进行向左、右、上、下滑动,相同的卡片进行相加,游戏结束时得到相应的分数,同时可以看到自己的历史最高分,以及排行榜功能,通过这些功能,使得用户在如今倍感压力的社会下,拥有一丝轻松之感。

关键词:android;游戏;数字

Based on the android platform of digital mobile games

Abstract

Today, based on the android platform game has slowly infiltrated each person's life, plays

a more and more important role. so to speak, with the rapid development of Internet, mobile

phone games is not only a simple diversion, a form of entertainment for people, it has become

a trend, a kind of culture, just as we cannot leave a mobile phone now, almost every phone

people download a game.

Based on the number of the android platform game - 2048, it is a puzzle games, more

interesting and entertaining and educational. Educational games help to develop the human

brain, through the brain to get the victory of the game. Such access to knowledge through

entertainment, accomplish the learning in the entertainment, entertainment.

This article through to the preliminary research on the digital game based on android

platform, determine the development of a 2048 game. Games mainly realizes the user login

through registration after entering the game interface, and then to the left, right, up, down, the

same card in addition, to obtain the corresponding score at the end of the game, at the same

time as you can see their own history, and the ranking function, through these function, makes

the users in today under the pressure of society, have a relaxed feeling.

Key Words:Android;Game;Digit

目录

第一章 设计任务与要求 .......................................................................................................... 1

1.1设计任务 ..................................................................................................................... 1

1.2 设计要求 .................................................................................................................... 1

第二章 设计方案 ...................................................................................................................... 3

2.1 设计思想 .................................................................................................................... 3

2.2 设计功能 .................................................................................................................... 4

第三章 软件设计 ...................................................................................................................... 7

3.1 布局设计 .................................................................................................................... 7

3.1.1 整体布局 ........................................................................................................ 7

3.1.2 设计游戏布局 ................................................................................................ 7

3.2 主界面的实现 ............................................................................................................ 8

3.2.1 欢迎界面 ........................................................................................................ 8

3.2.2 登录界面 ........................................................................................................ 9

3.2.3 游戏界面 ...................................................................................................... 10

3.3 总体结构 .................................................................................................................. 12

3.3.1 系统模块流程图 .......................................................................................... 12

3.3.2 登录模块 ...................................................................................................... 12

3.3.3 注册模块 ...................................................................................................... 13

3.3.4 游戏逻辑模块 .............................................................................................. 13

3.3.5 排名模块 ...................................................................................................... 14

3.3.6 其他功能模块 .............................................................................................. 15

3.4 源程序清单及注释 .................................................................................................. 15