基于MSP430G2553的贪吃蛇游戏设计  被引量:1

Snake Game Design Based on MSP430G2553

在线阅读下载全文

作  者:张皎[1] 李嘉兴 ZHANG Jiao;LI Jiaxing(Xi’an Jiaotong University,School of Electrical Engineering,Xi’an 710049,China)

机构地区:[1]西安交通大学电气工程学院,陕西西安710049

出  处:《电子质量》2024年第1期37-40,共4页Electronics Quality

摘  要:贪吃蛇游戏作为一款经典的益智小游戏倍受人们喜爱[1]。基于市面上的单片机综合游戏机存在严重的滞后性[2],采用TI公司的MSP430G2553 LaunchPad微处理器为主控平台,在CCS8.0和VSCODE 2019网页设计平台的开发环境下,结合G2扩展板上的机械按键,音频功放及双显示屏(LCD12864与G2自带LCD屏)实现了基于MSP430单片机的贪吃蛇小游戏设计。并着重介绍了基于MSP430单片机的贪吃蛇小游戏开发的思路,并详细给出了游戏算法功能模块的具体实现代码。实验结果表明,该系统的人机交互性能强,功能扩展性优异,对今后的基于单片机的小游戏开发具有一定的指导意义[3]。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 mechanical 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 experimental 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 future.

关 键 词:MSP430G2553 CCS8.0 VSCODE 2019 LCD12864 贪吃蛇游戏设计 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象