C语言五子棋设计分析.docVIP

  • 17
  • 0
  • 约8.46千字
  • 约 13页
  • 2016-06-10 发布于湖北
  • 举报
C语言五子棋设计 #include stdio.h? #includebios.h #include ctype.h? #include conio.h? #include dos.h? #define CROSSRU 0xbf /*右上角点*/? #define CROSSLU 0xda /*左上角点*/? #define CROSSLD 0xc0 /*左下角点*/? #define CROSSRD 0xd9 /*右下角点*/? #define CROSSL 0xc3 /*左边*/? #define CROSSR 0xb4 /*右边*/? #define CROSSU 0xc2 /*上边*/? #define CROSSD 0xc1 /*下边*/? #define CROSS 0xc5 /*十字交叉点*/? /*定义棋盘左上角点在屏幕上的位置*/? #define MAPXOFT 5? #define MAPYOFT 2? /*定义1号玩家的操作键键码*/? #define PLAY1UP 0x1157/*上移--W*/? #define PLAY1DOWN 0x1f53/*下移--S*/? #define PLAY1LEFT 0x1e41/*左移--A*/? #define PLAY1RIGHT 0x2044/*右移--D*/? #define PLAY

文档评论(0)

1亿VIP精品文档

相关文档