文件名称:Snake
-
所属分类:
- 标签属性:
- 上传时间:2013-01-21
-
文件大小: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/Debug/Snake.exe
Snake/Debug/Snake.ilk
Snake/Debug/Snake.obj
Snake/Debug/Snake.pch
Snake/Debug/Snake.pdb
Snake/Debug/Snake.res
Snake/Debug/SnakeDoc.obj
Snake/Debug/SnakeView.obj
Snake/Debug/StdAfx.obj
Snake/Debug/vc60.idb
Snake/Debug/vc60.pdb
Snake/MainFrm.cpp
Snake/MainFrm.h
Snake/ReadMe.txt
Snake/res/Snake.ico
Snake/res/Snake.rc2
Snake/res/SnakeDoc.ico
Snake/res/Toolbar.bmp
Snake/Resource.h
Snake/Snake.aps
Snake/Snake.clw
Snake/Snake.cpp
Snake/Snake.dsp
Snake/Snake.dsw
Snake/Snake.h
Snake/Snake.ncb
Snake/Snake.opt
Snake/Snake.plg
Snake/Snake.rc
Snake/SnakeDoc.cpp
Snake/SnakeDoc.h
Snake/SnakeView.cpp
Snake/SnakeView.h
Snake/StdAfx.cpp
Snake/StdAfx.h
Snake/Debug
Snake/res
Snake
无双大蛇 轻音乐.mp3
Snake/Debug/MainFrm.obj
Snake/Debug/Snake.exe
Snake/Debug/Snake.ilk
Snake/Debug/Snake.obj
Snake/Debug/Snake.pch
Snake/Debug/Snake.pdb
Snake/Debug/Snake.res
Snake/Debug/SnakeDoc.obj
Snake/Debug/SnakeView.obj
Snake/Debug/StdAfx.obj
Snake/Debug/vc60.idb
Snake/Debug/vc60.pdb
Snake/MainFrm.cpp
Snake/MainFrm.h
Snake/ReadMe.txt
Snake/res/Snake.ico
Snake/res/Snake.rc2
Snake/res/SnakeDoc.ico
Snake/res/Toolbar.bmp
Snake/Resource.h
Snake/Snake.aps
Snake/Snake.clw
Snake/Snake.cpp
Snake/Snake.dsp
Snake/Snake.dsw
Snake/Snake.h
Snake/Snake.ncb
Snake/Snake.opt
Snake/Snake.plg
Snake/Snake.rc
Snake/SnakeDoc.cpp
Snake/SnakeDoc.h
Snake/SnakeView.cpp
Snake/SnakeView.h
Snake/StdAfx.cpp
Snake/StdAfx.h
Snake/Debug
Snake/res
Snake
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.