检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张皎[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.123