C语言程序源代码_五子棋游戏.docVIP

  • 27
  • 0
  • 约8.96千字
  • 约 10页
  • 2017-08-30 发布于江苏
  • 举报
/* 五子棋 */ #includestdio.h #includestdlib.h #includegraphics.h #includebios.h #includeconio.h #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 #define UP 0x4800 #define ESC 0x011b #define SPACE 0x3920 #define BILI 20 #define JZ 4 #define JS 3 #define N 19 int box[N][N]; int step_x,step_y ; int key ; int flag=1 ; void draw_box(); void draw_cicle(int x,int y,int color); void change(); void judgewho(int x,int y); void judgekey(); int judgeresult(int x,int y); void attentoin(); void attention() { char ch ; window(1,1,80,25); textbackground(LIGHTBLUE); textcolor(

文档评论(0)

1亿VIP精品文档

相关文档