4、C++语言五子棋源程序.docVIP

  • 3
  • 0
  • 约6.86千字
  • 约 13页
  • 2017-08-23 发布于河南
  • 举报
C++语言五子棋源程序 C++语言五子棋源程序 (利用坐标确定棋子位置) ************************************************************** C++语言五子棋源程序 * 运行环境:TC3.0 (vc6.0不支持画图函数,无法画出棋盘和棋子) ************************************************************* #define backcolor CYAN #define defaultcolor BLACK #define linecolor MAGENTA #define player1_color RED #define player2_color WHITE #define error_color RED #define winner_color RED const int left=40; const int top=390; const int d=30; const int line_num=9; const int turn=0; const int r=d/3; const int j=10; int x,y,k=1,step=(line

文档评论(0)

1亿VIP精品文档

相关文档