A simple Gluttonous Snake game implemented with graphics library EasyX in C.
Just dowanload and open 贪吃蛇.exe
- Download and install VC++6.0.
- Download and install EasyX库 2012立冬版. (If you cannot visit the download link, this repository has also provided the installation package, and you can just download from here.)
- Compile the source code file 'xxx.cpp' by VC, and then you can run and play the game.
- Design a linked list to store the coordinate of snake's body node.
- Recognize the direction (up,down,left and right) of snake and decide the snake's head coordinate.
- Implement the animation of snake's moving.