小游戏 井字棋源代码

时间:2011-11-27 06:31:49
【文件属性】:
文件名称:小游戏 井字棋源代码
文件大小:6KB
文件格式:CPP
更新时间:2011-11-27 06:31:49
代码 随便 #include #include using namespace std; typedef char chess[10]; typedef int temparr[10]; chess arr; temparr brr; int number,suc,n3,c3,n2,c2,n1,c1; void inarrdata(chess a) { a[1]='1';a[2]='2';a[3]='3'; a[4]='4';a[5]='5';a[6]='6'; a[7]='7';a[8]='8';a[9]='9'; }

网友评论

  • 井子棋还不错,但是算法不够强,会被下输
  • 有点看不懂。初学者。。。