在c++中如何将几个小游戏何在一起做一个菜单来选择开始玩。我写了两个游戏贪吃蛇和扫雷,如何实现上面要求

日期:2011-06-23 22:08:56 人气:1

在c++中如何将几个小游戏何在一起做一个菜单来选择开始玩。我写了两个游戏贪吃蛇和扫雷,如何实现上面要求

#define N 200 #include #include #include #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 #define UP 0x4800 #define ESC 0x011b int i,key; int score=0;/*得分*/ int gamespeed=50000;/*游戏速度自己调整*/ struct Food { int
    A+
热门评论