本工程基于CuBeMx创建
使用硬件为正点原子探索者stm32F407.
开始游戏界面可以按KEY1选择蛇体颜色,KEY2选择蛇体速度、按KEY0确认。最后按WK_UP可进入游戏。
周二:
做地图√
食物能够随机生成√
周三:
周四:
做蛇初始位置√
蛇能自己动起来√
蛇能手动控制走向√
蛇能吃食物且食物能够随机生成√
蛇能变长√
蛇有撞墙反应、碰自己反应和结束游戏√
周五:
开始欢迎页面—》按键开始游戏、选择蛇体√
游戏结束页面—》失败图片,按键重开√
周六:
实现蛇体速度选择√
没有合适的资源?快使用搜索试试~ 我知道了~
基于stm32f407开发的贪吃蛇游戏,适用于屏幕分辨率420*800
共204个文件
h:58个
d:32个
crf:31个
需积分: 0 47 下载量 134 浏览量
2023-03-18
13:22:23
上传
评论 14
收藏 14.09MB ZIP 举报
温馨提示
使用CUBEMX开发,硬件为stm43f407正点原子探索者开发板。 具有开始、游戏、结束的图形界面。 可以实现设置蛇体颜色、速度等游戏功能。
资源推荐
资源详情
资源评论
收起资源包目录
基于stm32f407开发的贪吃蛇游戏,适用于屏幕分辨率420*800 (204个子文件)
mysnake.axf 1.38MB
logo.bmp 7KB
stm32f4xx_hal_tim.c 245KB
stm32f4xx_hal_rcc_ex.c 155KB
lcd.c 90KB
stm32f4xx_hal_tim_ex.c 83KB
stm32f4xx_hal_flash_ex.c 50KB
stm32f4xx_hal_rcc.c 42KB
stm32f4xx_ll_fsmc.c 40KB
stm32f4xx_hal_dma.c 40KB
stm32f4xx_hal_sram.c 34KB
system_stm32f4xx.c 27KB
stm32f4xx_hal_rng.c 26KB
stm32f4xx_hal_flash.c 24KB
stm32f4xx_hal_pwr_ex.c 23KB
stm32f4xx_hal_pwr.c 21KB
stm32f4xx_hal.c 19KB
stm32f4xx_hal_gpio.c 19KB
stm32f4xx_hal_cortex.c 19KB
stm32f4xx_hal_exti.c 15KB
stm32f4xx_hal_dma_ex.c 10KB
fsmc.c 7KB
stm32f4xx_hal_flash_ramfunc.c 6KB
stm32f4xx_it.c 6KB
main.c 5KB
tim.c 5KB
gpio.c 3KB
rng.c 2KB
stm32f4xx_hal_msp.c 2KB
key.c 486B
snake.c 0B
stm32f4xx_hal_tim.crf 866KB
lcd.crf 830KB
stm32f4xx_hal_tim_ex.crf 827KB
snake.crf 824KB
main.crf 822KB
snack.crf 810KB
stm32f4xx_hal_rcc.crf 810KB
stm32f4xx_hal_dma_ex.crf 810KB
bmp.crf 809KB
stm32f4xx_hal_dma.crf 807KB
stm32f4xx_ll_fsmc.crf 805KB
stm32f4xx_hal_sram.crf 804KB
stm32f4xx_hal_rcc_ex.crf 804KB
stm32f4xx_hal_flash.crf 804KB
stm32f4xx_hal_flash_ex.crf 804KB
stm32f4xx_hal_gpio.crf 802KB
stm32f4xx_hal_exti.crf 802KB
fsmc.crf 801KB
stm32f4xx_hal_pwr.crf 801KB
stm32f4xx_hal.crf 801KB
stm32f4xx_hal_rng.crf 801KB
tim.crf 801KB
gpio.crf 801KB
key.crf 800KB
stm32f4xx_hal_cortex.crf 800KB
stm32f4xx_hal_pwr_ex.crf 800KB
rng.crf 800KB
stm32f4xx_it.crf 800KB
stm32f4xx_hal_msp.crf 800KB
system_stm32f4xx.crf 799KB
stm32f4xx_hal_flash_ramfunc.crf 799KB
stm32f4xx_hal_flash_ramfunc.d 3KB
stm32f4xx_hal_flash_ex.d 3KB
stm32f4xx_hal_cortex.d 3KB
stm32f4xx_hal_tim_ex.d 3KB
stm32f4xx_hal_pwr_ex.d 3KB
stm32f4xx_hal_rcc_ex.d 3KB
stm32f4xx_hal_dma_ex.d 3KB
stm32f4xx_hal_flash.d 3KB
stm32f4xx_hal_sram.d 3KB
stm32f4xx_hal_exti.d 3KB
stm32f4xx_hal_gpio.d 3KB
stm32f4xx_hal_msp.d 3KB
stm32f4xx_hal_tim.d 3KB
stm32f4xx_hal_pwr.d 3KB
stm32f4xx_hal_dma.d 3KB
stm32f4xx_hal_rcc.d 3KB
stm32f4xx_ll_fsmc.d 3KB
stm32f4xx_hal_rng.d 3KB
system_stm32f4xx.d 3KB
snake.d 3KB
main.d 3KB
stm32f4xx_it.d 3KB
stm32f4xx_hal.d 3KB
snack.d 3KB
bmp.d 2KB
lcd.d 2KB
fsmc.d 2KB
gpio.d 2KB
key.d 2KB
rng.d 2KB
tim.d 2KB
startup_stm32f407xx.d 54B
mysnake_STM32F407ZGTx.dbgconf 3KB
mysnake_mysnake.dep 84KB
bmp.h 2.59MB
stm32f407xx.h 1.29MB
stm32f4xx_hal_rcc_ex.h 430KB
stm32_hal_legacy.h 219KB
共 204 条
- 1
- 2
- 3
资源评论
得哒哒哒
- 粉丝: 381
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功