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

📄 fiverai.h

📁 有关win32应用程序编程和wince应用程序编程的很全面
💻 H
字号:
// FiverAI.h: interface for the CFiverAI class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_FIVERAI_H__F084F732_691E_4BC0_BC08_27B41108713B__INCLUDED_)#define AFX_FIVERAI_H__F084F732_691E_4BC0_BC08_27B41108713B__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000#include <vector>struct ChessPositionStruct {	unsigned char nx;	unsigned char ny;	bool style;};class CFiverAI  {public:	CFiverAI();	virtual ~CFiverAI();	bool IsWinner(bool style,int nx,int ny);	void NewGame();	bool PutChess(int nx,int ny);	bool back(ChessPositionStruct &last);	bool IsPlaying();	int  GetStep();	bool GetRecord(ChessPositionStruct &ChessPosition);	int map[15][15];	struct winstruct {		int winner; //0 没有获胜 1 白 2 黑		int nx1;    //五连的坐标		int nx2;		int ny1;		int ny2;	} twinner;	ChessPositionStruct ChessRecord[225];	int step;//步数	bool style;//color of chessman true for black and false for white	int RecordStep;//棋谱的步数private:	bool IsPlay;};#endif // !defined(AFX_FIVERAI_H__F084F732_691E_4BC0_BC08_27B41108713B__INCLUDED_)

⌨️ 快捷键说明

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