文件名称:Snake
- 所属分类:
- 其他智力游戏
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-06-16
- 文件大小:
- 2.5mb
- 下载次数:
- 0次
- 提 供 者:
- J***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
贪吃蛇游戏
创建一个基于对话框的应用程序,在客户区显示游戏区域,当点击“开始游戏”按钮时,在游戏区域显示3个随机出现的食物和蛇。蛇身的初始长度为4个单位,沿向上的方向移动,按键盘 “↑”、“↓”、“←”、“→”方向键可以改变蛇的运行方向。每隔一定的时间间隔,蛇按照当前方向移动1格。蛇吃掉一个食物,蛇身增长1格,吃掉红色食物得1分,吃掉蓝色食物得2分,吃掉黄色食物得3分,分数值显示在得分一栏。当蛇碰到边框或自己身体时,游戏结束。
-Snake game
A dialog-based applications, showing the game area in the client area, click on the "Play" button, the display three random food and snakes in the game area. The initial length of the snake is 4 units, moving upward direction, press the keyboard "↑", "↓", "←", "→" arrow keys to change the direction of the snake. At regular intervals, according to the current snake moves one direction. Snake eats a food, the snake grow a grid, eat red food 1 point, 2 points eat blue food, eat yellow food 3 points, fractional values are displayed in the scoring column. When the snake encounter border or his body, the game ends.
创建一个基于对话框的应用程序,在客户区显示游戏区域,当点击“开始游戏”按钮时,在游戏区域显示3个随机出现的食物和蛇。蛇身的初始长度为4个单位,沿向上的方向移动,按键盘 “↑”、“↓”、“←”、“→”方向键可以改变蛇的运行方向。每隔一定的时间间隔,蛇按照当前方向移动1格。蛇吃掉一个食物,蛇身增长1格,吃掉红色食物得1分,吃掉蓝色食物得2分,吃掉黄色食物得3分,分数值显示在得分一栏。当蛇碰到边框或自己身体时,游戏结束。
-Snake game
A dialog-based applications, showing the game area in the client area, click on the "Play" button, the display three random food and snakes in the game area. The initial length of the snake is 4 units, moving upward direction, press the keyboard "↑", "↓", "←", "→" arrow keys to change the direction of the snake. At regular intervals, according to the current snake moves one direction. Snake eats a food, the snake grow a grid, eat red food 1 point, 2 points eat blue food, eat yellow food 3 points, fractional values are displayed in the scoring column. When the snake encounter border or his body, the game ends.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Snake\Debug\Snake.exe
.....\.....\Snake.ilk
.....\.....\Snake.pdb
.....\Snake\app.aps
.....\.....\app.ico
.....\.....\app.rc
.....\.....\AssemblyInfo.cpp
.....\.....\Debug\app.res
.....\.....\.....\AssemblyInfo.obj
.....\.....\.....\BuildLog.htm
.....\.....\.....\mt.dep
.....\.....\.....\Snake.exe.intermediate.manifest
.....\.....\.....\Snake.Form1.resources
.....\.....\.....\Snake.obj
.....\.....\.....\Snake.pch
.....\.....\.....\stdafx.obj
.....\.....\.....\vc90.idb
.....\.....\.....\vc90.pdb
.....\.....\Form1.cpp
.....\.....\Form1.h
.....\.....\Form1.resx
.....\.....\ReadMe.txt
.....\.....\resource.h
.....\.....\Snake.cpp
.....\.....\Snake.h
.....\.....\Snake.vcproj
.....\.....\Snake.vcproj.A205C076.user.user
.....\.....\stdafx.cpp
.....\.....\stdafx.h
.....\Snake.ncb
.....\Snake.sln
.....\Snake.suo
.....\.....\Debug
.....\Debug
.....\Snake
Snake