C++
zhangm2020
这个作者很懒,什么都没留下…
展开
-
c++五子棋人机版
五子棋游戏人机版: 电脑实现了阻挡对方连续的棋子 #include<iostream>#include<iomanip>using namespace std;#include<stdlib.h>#include<time.h>/*class PerPlayer{public: int m; in...原创 2017-09-05 20:36:13 · 9690 阅读 · 8 评论 -
c++五子棋双人版
五子棋游戏双人版 #include<iostream>#include<iomanip>using namespace std; const int X = 21; //棋盘行数const int Y = 21; //棋盘列数char p[X][Y]; //定义棋盘int m=0;//定义临时点,保存输入坐标int n=0; void dis...原创 2017-09-02 10:41:37 · 2062 阅读 · 4 评论