用户名: 密码: 验证码:
贪吃蛇游戏设计
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design of snake game
  • 作者:李倩
  • 英文作者:Li Qian;Zhengde Polytechnic;
  • 关键词:单片机 ; 系统 ; 贪吃蛇
  • 英文关键词:single chip computer;;system;;snake
  • 中文刊名:WXHK
  • 英文刊名:Wireless Internet Technology
  • 机构:正德职业技术学院;
  • 出版日期:2019-01-25
  • 出版单位:无线互联科技
  • 年:2019
  • 期:v.16;No.150
  • 基金:正德职业技术学院课题;项目名称:基于职业技能竞赛培养学生创新能力的研究;项目编号:201701
  • 语种:中文;
  • 页:WXHK201902067
  • 页数:2
  • CN:02
  • ISSN:32-1675/TN
  • 分类号:168-169
摘要
文章设计了一款新颖的以单片机为控制核心的贪食蛇游戏系统。所设计的贪食蛇能完成移动、吃食物和摆放游戏自动输出的食物,使之默认出现3节蛇身,吃到每个随机点数而得分等功能。硬件设计包括LED模块、键盘模块、供电模块驱动模块和下载模块。软件采用C语言编程,方便灵活,大大加快了软件开发速度,缩短了开发周期,并且便于移植。为提高开发效率和硬件稳定性,采用了功能强大的硬件仿真软件Proteus,依托该软件提供的仿真环境搭配Keil作为软件开发调试环境进行仿真调试成功。
        This paper designs a novel snake game system with single chip computer as the control core. The designed snake can complete the movement, eat food and put the food automatically outputted by the game, so that it has 3 snakes by default, and eats every random point and scores. The hardware design includes an LED module, a keyboard module, a power supply module driving module, and a download module. The software adopts C language programming, which is convenient and flexible, greatly speeds up the software development speed, shortens the development cycle, and is easy to transplant. In order to improve development efficiency and hardware stability, a powerful hardware simulation software Proteus is adopted, and the simulation environment provided by the software is used with Keil as the software development debugging environment for simulation debugging.
引文
[1]方大千.实用电子控制电路[M].北京:国际工业出版社,2003.
    [2]李朝青,刘艳玲.单片机原理及接口技术[M].北京:北京航空航天大学出版社,2013.
    [3]杨将新,李军华,刘东骏,等.单片机程序设计及应用从基础到实践[M].北京:电子工业出版社,2006.
    [4]雷思孝,冯育长.单片机系统设计及工程应用[M].北京:电子工业出版社,2005.
    [5]李倩.电子产品生产工艺[M].北京:中国铁道出版社,2015.
    [6]于京,张景璐.51单片机C程序设计与应用案例[M].北京:中国电力出版社,2006.
    [7]王港元.电子电工实践指导[M].3版.南昌:江西科学技术出版社,2003.
    [8]阎石.数字电子技术基础[M].北京:高等教育出版社,2006.
    [9]高吉祥,徐欣,吴帅.基本技能训练与单元电路设计[M].北京:电子工业出版社,2007.
    [10]孙裕晶,沙玲.实用控制系统设计教程[M].长春:吉林大学出版社,2000.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700