analysechess.h
来自「在linux下使用qt来开发的五子棋」· C头文件 代码 · 共 15 行
H
15 行
#ifndef ANALYSECHESS_H
#define ANALYSECHESS_H
class AnalyseChess
{
public:
static int Five( int (*grid)[15], int m, int n, const int &dire ); //判断5连(大于5也可)
static int Four( int (*realgrid)[15], int m, int n, const int &dire ); //判断冲四、四连
static int Three( int (*realgrid)[15], int m, int n, const int &dire ); //判断冲三和三连(包括隔一三连)、隔二三连
static int Two( int (*realgrid)[15], int m, int n, const int &dire ); //判断冲二、二连(包括隔一二连)、隔二二连
//隔二冲二归入冲二
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?