Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop CSharp
Title: Snake Download
 Description: The snake s activity area is composed by 57 × 33 small squares, when these small squares presented a dark gray, and they said the snake. Snake n adjacent squares, the grid coordinates to the tail of the order in accordance with snakeheads into it on behalf of the snake into an array. Snake swimming in the activity area grid array operation corresponding to the new location coordinates inserted into the head of the array, while the last element in the array to delete. The game uses the four arrow keys and A/W/the S/D to control the forward direction of the snake, OnKeyDown () message processing function, depending on the direction of the key to set the value of the member variables m_nDirect. When in the menu, select Start to start the timer, the start of the game. In the the timer message processing function, based on the value of m_nDirect determine the next position of the snake. If there is no out of bounds or encounter itself, the snake can move to a new location. If you eat the f
 Downloaders recently: [More information of uploader 吴忠]
 To Search:
File list (Check if you may need any files):
 

Snake\MainFrm.cpp
.....\MainFrm.h
.....\ReadMe.txt
.....\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
.....\Release\MainFrm.obj
.....\.......\Snake.exe
.....\.......\Snake.obj
.....\.......\Snake.res
.....\.......\SnakeDoc.obj
.....\.......\SnakeView.obj
.....\.......\StdAfx.obj
.....\.......\vc60.idb
.....\res\Snake.ico
.....\...\Snake.rc2
.....\...\SnakeDoc.ico
.....\Release
.....\res
Snake
    

CodeBus www.codebus.net