文件名称:Snake
- 所属分类:
- 棋牌游戏
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-01-16
- 文件大小:
- 6.1mb
- 下载次数:
- 0次
- 提 供 者:
- 狄*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
贪吃蛇
在一个方框内有一条蛇和一个目标,蛇身由若干小方格组成(游戏开始时,蛇身长度为4)。蛇自动前进,用光标键可以控制蛇头的前进方向。蛇头每前进一格,蛇身的最后一节消失,蛇头改变方向时,蛇身在该点弯曲。蛇头碰到目标时,玩家得一分,同时蛇身长度增加一个长度。蛇头碰到四壁或碰到蛇身时游戏结束。
(1)画出程序初始样式(方框、蛇身、目标及文字);
(2)允许玩家用菜单项“开始”开始游戏,“结束”结束游戏;
(3)允许玩家选择游戏难度:“简单”、“普通”、“困难”;
(4)蛇能自动前进,蛇身显示正确;
(5)用方向键可以改变蛇头方向,并且蛇身在改变方向处正确弯曲;
(6)蛇头碰到目标可以正确计分并显示;
(7)蛇头碰到目标可以正确增加蛇身长度;
(8)正确判断游戏结束(包括蛇头碰到四壁或蛇身);
(9)正确显示计时-Snake in a box within a snake and a goal, the snake by the number of small squares (the start of the game, snake length 4). Snake automatically advance, you can use the cursor keys to control the forward direction of the snakeheads. Each forward a snake head, snake the last one disappeared, and change direction when the snake head snake bend at that point. The snakeheads when the target is met, the player one point, an additional length of the snake length. Snakeheads run into the walls or snake encounter, the game is over.
在一个方框内有一条蛇和一个目标,蛇身由若干小方格组成(游戏开始时,蛇身长度为4)。蛇自动前进,用光标键可以控制蛇头的前进方向。蛇头每前进一格,蛇身的最后一节消失,蛇头改变方向时,蛇身在该点弯曲。蛇头碰到目标时,玩家得一分,同时蛇身长度增加一个长度。蛇头碰到四壁或碰到蛇身时游戏结束。
(1)画出程序初始样式(方框、蛇身、目标及文字);
(2)允许玩家用菜单项“开始”开始游戏,“结束”结束游戏;
(3)允许玩家选择游戏难度:“简单”、“普通”、“困难”;
(4)蛇能自动前进,蛇身显示正确;
(5)用方向键可以改变蛇头方向,并且蛇身在改变方向处正确弯曲;
(6)蛇头碰到目标可以正确计分并显示;
(7)蛇头碰到目标可以正确增加蛇身长度;
(8)正确判断游戏结束(包括蛇头碰到四壁或蛇身);
(9)正确显示计时-Snake in a box within a snake and a goal, the snake by the number of small squares (the start of the game, snake length 4). Snake automatically advance, you can use the cursor keys to control the forward direction of the snakeheads. Each forward a snake head, snake the last one disappeared, and change direction when the snake head snake bend at that point. The snakeheads when the target is met, the player one point, an additional length of the snake length. Snakeheads run into the walls or snake encounter, the game is over.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
贪吃蛇的PPT.ppt
无双大蛇 轻音乐.mp3
Snake\Debug\MainFrm.obj
.....\.....\Snake.exe
.....\.....\Snake.ilk
.....\.....\Snake.obj
.....\.....\Snake.pch
.....\.....\Snake.pdb
.....\.....\Snake.res
.....\.....\SnakeDoc.obj
.....\.....\SnakeView.obj
.....\.....\StdAfx.obj
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\MainFrm.cpp
.....\MainFrm.h
.....\ReadMe.txt
.....\res\Snake.ico
.....\...\Snake.rc2
.....\...\SnakeDoc.ico
.....\...\Toolbar.bmp
.....\Resource.h
.....\Snake.aps
.....\Snake.clw
.....\Snake.cpp
.....\Snake.dsp
.....\Snake.dsw
.....\Snake.h
.....\Snake.ncb
.....\Snake.opt
.....\Snake.plg
.....\Snake.rc
.....\SnakeDoc.cpp
.....\SnakeDoc.h
.....\SnakeView.cpp
.....\SnakeView.h
.....\StdAfx.cpp
.....\StdAfx.h
.....\Debug
.....\res
Snake