⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pointstrs.h

📁 这个程序是一个六子棋对弈引擎
💻 H
字号:
#ifndef POINTSTRS
#define POINTSTRS
#include "chList.h"
#include "Define.h"

class PointStrs
{
private:
	int numberofline[1000];
	int chesstype;
public:	
	PointStrs();
	void SetType(int type);  //设置存储的为白子或黑子
	int KnowType();          //获悉
	void UpDate(chList list,STONEMOVE p);
	void UpDate(chList list,STONEPOS s);
	void SearchFive(int out[],int &count);
	void SearchFour(int out[],int &count);		//找其中有没有4,有的话记录下在chList中的位置,并几下个数
	void SearchThree(int out[],int &count);
	void SearchTwo(int out[],int &count);
	void SearchOne(int out[],int &count);
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -