基于51单片机贪吃蛇游戏设计讲述.doc
文本预览下载声明
中文摘要
PAGE
PAGE I
摘 要
本文设计了一款新颖的以单片机为控制核心的贪食蛇游戏系统。所设计的贪食蛇能完成移动、吃食物和摆放游戏自动输出的食物、使之默认出现3节蛇身、吃到每个随机点数而得分等功能。硬件设计包括LED模块、键盘模块、供电模块驱动模块和下载模块。软件采用C语言编程,方便灵活,大大加快了软件开发速度,缩短了开发周期,并且便于移植。为提高开发效率和硬件稳定性,采用了功能强大的硬件仿真软件Proteus,依托该软件提供的仿真环境搭配Keil作为软件开发调试环境进行仿真调试成功。所设计的贪食蛇游戏系统轻巧便携、老少皆宜,且成本较低,具有一定的市场前景。
关键词:贪吃蛇;单片机;游戏
英文摘要
Abstract
This paper designs a novel single-chip microcomputer as the snake game control system. The snake can complete mobile, food and put the game automatically output of food, which appears by default 3 snake, eat each random points and scoring functions. The hardware design includes LED module, keyboard module, power supply module and driving module and download module. The software is programmed with C language, convenient and flexible, greatly accelerate the speed of software development, shorten the development cycle, and easy to transplant. In order to improve the development efficiency and stability of the hardware, the powerful hardware simulation software Proteus, based on the simulation environment of the software provided with Keil as the software development environment for debugging simulation debugging success. Snake game system design of the light and portable, suitable for all ages, and the cost is low, has a certain market prospects.
KeyWords:Greedy Snake;51MCU;Game
目录
PAGE 5
目录
TOC \o 1-3 \h \u HYPERLINK \l _Toc4428 第一章 绪论 PAGEREF _Toc4428 1
HYPERLINK \l _Toc1241 1.1课题设计的背景与意义 PAGEREF _Toc1241 1
HYPERLINK \l _Toc29352 1.2 贪食蛇游戏的发展及现状 PAGEREF _Toc29352 2
HYPERLINK \l _Toc2182 1.2.1贪食蛇游戏发展历史 PAGEREF _Toc2182 2
HYPERLINK \l _Toc16118 1.2.2我国单机游戏的现状 PAGEREF _Toc16118 2
HYPERLINK \l _Toc12729 1.3 课题设计的内容与要求 PAGEREF _Toc12729 3
HYPERLINK \l _Toc23720 1.3.1课题设计的内容 PAGEREF _Toc23720 3
HYPERLINK \l _Toc16868 1.3.2课题设计的要求 PAGEREF _Toc16868 4
HYPERLINK \l _Toc20746 1.4设计方案 PAGEREF _Toc20746 4
HYPERLINK \l _Toc21564 1.4.1硬件设计 PAGEREF _Toc21564 4
HYPERLINK \l
显示全部