- 3
- 0
- 约1.21万字
- 约 40页
- 2020-11-12 发布于天津
- 举报
#includeiostream
#include #include #include #include usingnamespacestd;
HANDLEMutex二CreateMutex(NULL,FALSE,NULL);/互斥对象 intGameOver=0;
intlevel=0;
intmap[23][23];
// 坦克种类, Normal 为玩家坦克
#defineNormal0 #defineRed1 #defineBlue2 #defineGreen3 // 方向的宏定义
#defineUp0 #defineDown1 #defineLeft2 #defineRight3 // 地图标记的宏定义
}
}
}
}
#defineEmpty0 #definePlayer1 #definePlayerBullet2 #defineEnemyBullet3 #defineEnemy4 intKill;
intKillRed;
intKillGreen;
intEnemyExist;
voidSetPos(inti,intj)//设定光标位置
voidSetPos(inti,intj)//
设定光标位置
COORDpos={i,j};
HANDLEOut=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(Ou
您可能关注的文档
- 2020年资格考试《中学教育理论综合》考前练习(第66套).docx
- 2020年资格考试《中学教育知识与能力》模拟卷(第83套).docx
- 2020年资格考试《中学教育知识与能力》每日一练(第82套).docx
- 2020年资格考试《中学综合素质》每日一练(第33套).docx
- 2020年资格考试《中学综合素质》考前练习(第92套).docx
- 2020年资格考试《中级个人贷款》模拟卷(第86套).docx
- 2020年资格考试《中级会计实务》模拟卷(第33套).docx
- 2020年资格考试《中级会计实务》模拟卷(第82套).docx
- 2020年资格考试《中级工商管理》模拟卷(第42套).docx
- 2020郭敬峰老师课纲:《服务礼仪与.docx
原创力文档

文档评论(0)