首页|基于MSP430G2553的贪吃蛇游戏设计

基于MSP430G2553的贪吃蛇游戏设计

扫码查看
贪吃蛇游戏作为一款经典的益智小游戏倍受人们喜爱[1].基于市面上的单片机综合游戏机存在严重的滞后性[2],采用TI公司的MSP430G2553 LaunchPad微处理器为主控平台,在CCS8.0和VSCODE 2019网页设计平台的开发环境下,结合G2扩展板上的机械按键,音频功放及双显示屏(LCD12864与G2自带LCD屏)实现了基于MSP430单片机的贪吃蛇小游戏设计.并着重介绍了基于MSP430单片机的贪吃蛇小游戏开发的思路,并详细给出了游戏算法功能模块的具体实现代码.实验结果表明,该系统的人机交互性能强,功能扩展性优异,对今后的基于单片机的小游戏开发具有一定的指导意义[3].
Snake Game Design Based on MSP430G2553
Snake game as a classic puzzle game is very popular.Based on the serious lag of single-chip integrated game consoles on the market.TI's MSP430G2553 LaunchPad microprocessor is used as the main control platform,under the development environment of CCS8.0 and VSCODE 2019 web design platform,combined with the mechani-cal button on G2 expansion board,audio amplifier and dual display(LCD12864 and G2 come with LCD screen),the design of the snake game is realized based on MSP430 microcontroller.The development of snake game based on MSP430 microcontroller is introduced,and the code of game algorithm function module is given in detail.The experi-mental results show that the system has strong human-computer interaction performance and excellent functional scalability,which has certain guiding significance for the development of microcontroller-based small games in the fu-ture.

MSP430G2553CCS8.0VSCODE 2019LCD12864snake game design

张皎、李嘉兴

展开 >

西安交通大学 电气工程学院,陕西 西安 710049

MSP430G2553 CCS8.0 VSCODE 2019 LCD12864 贪吃蛇游戏设计

2024

电子质量
中国电子质量管理协会 信产部五所

电子质量

影响因子:0.146
ISSN:1003-0107
年,卷(期):2024.(1)
  • 9