文件名称:snake-demo
介绍说明--下载内容均来自于网络,请自行研究使用
一个基于qt4的贪吃蛇游戏代码,具体玩法:在一定的区域,一开始只有蛇头的贪食蛇,通过不断吞食果实来增长蛇身,如果在去吞食果实的过程中,碰触到自身的蛇身或者碰触到四周的边界就死亡,用户可以通过工具栏的开始、暂停、继续、来进行游戏,另外附加加速和减速的功能来提高游戏的趣味性。-A based on QT4 Snake game code, specific Gameplay: in a certain region, at the beginning only snakeheads snake, by eating fruit to increase the snake, if in the process to eat fruits, and touch their snake or touch the boundary around is dead, the user can use toolbar s start, pause, continue, to the game, additional acceleration and deceleration function to improve the game interesting.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
snake-demo\main.cpp
..........\mainwindow.cpp
..........\mainwindow.h
..........\Makefile
..........\moc_mainwindow.cpp
..........\moc_screen.cpp
..........\screen.cpp
..........\screen.h
..........\snake-demo
..........\snake-demo.pro
..........\snake.cpp
..........\snake.h
snake-demo