Snake games written in EGE and Dev C++
-
EGE版本:19.01
EGE version: 19.01 -
DEV C++版本:5.11
DEV C++ version: 5.11
-
主程序代码:
snake.cpp
The main program code is insnake.cpp. -
蛇类封装:
Snake.h
The snake class is encapsulated inSnake.h. -
按钮类封装:
Btn.h
The button class is encapsulated inBtn.h. -
障碍物、食物和速度剂封装:
Item.h
The obstacles, food, and speed agents are packaged inItem.h. -
地图、蛇头蛇身、障碍物、速度剂素材:存放在文件夹
resource
Pictures including map, snake body, obstacles, and speed agent are in the folderresource.

