文件名称:Snake
- 所属分类:
- .net编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2014-06-13
- 文件大小:
- 2.55mb
- 下载次数:
- 0次
- 提 供 者:
- Sop***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
创建一个基于对话框的应用程序,在客户区显示游戏区域,当点击“开始游戏”按钮时,在游戏区域显示3个随机出现的食物和蛇。蛇身的初始长度为4个单位,沿向上的方向移动,按键盘 “↑”、“↓”、“←”、“→”方向键可以改变蛇的运行方向。每隔一定的时间间隔,蛇按照当前方向移动1格。蛇吃掉一个食物,蛇身增长1格,吃掉红色食物得1分,吃掉蓝色食物得2分,吃掉黄色食物得3分,分数值显示在得分一栏。当蛇碰到边框或自己身体时,游戏结束。-Create a dialog based application, show the game area on the client area, when you click the "start" button, display 3 randomly appear food and snake in the game zone. The initial length of the snake is 4 units, moving along a direction, press the keyboard "↑", "↓", "-", "-" key can change the direction of the snake. At regular intervals, the snake in accordance with the current direction 1 lattice. The snake to eat a food, the body grows 1 lattice, eat red food had 1 points, 2 points to eat blue food, eat yellow food 3, numerical display in the scoring column. When the snake across borders or your body, the end of the game.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
贪吃蛇\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.h
......\.....\.....\Form1.resx
......\.....\.....\ReadMe.txt
......\.....\.....\resource.h
......\.....\.....\Snake.cpp
......\.....\.....\Snake.h
......\.....\.....\Snake.vcproj
......\.....\.....\Snake.vcproj.A205C074.user.user
......\.....\.....\stdafx.cpp
......\.....\.....\stdafx.h
......\.....\Snake.ncb
......\.....\Snake.sln
......\.....\Snake.suo
......\.....\.....\Debug
......\.....\Debug
......\.....\Snake
......\Snake
贪吃蛇