当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 2 Fork 0

冷钦街 / chess
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
chessApi.h 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
冷钦街 提交于 2018-09-19 19:05 . 加入自动化测试逻辑
#ifndef _CHESS_CONFIG_H_
#define _CHESS_CONFIG_H_
#include"chessConfig.h"
typedef int BOOL;
#define TRUE 1
#define FALSE 0
extern int chessBoard[ROWS][COLS];
extern void printChess();
extern BOOL putChess(int thisX, int thisY, int role, int *pRemoveCnt, int lastX, int lastY, int *pRemoveX, int *pRmoeveY);
extern int removeChesses(int role, int *removeRow, int *removeCol);
extern BOOL nearSpaceApi(int row, int col, int role);
extern void getPos(int *pX, int *pY, int role);
extern int anotherRole(int role);
extern void autoTest(void);
#endif
C
1
https://gitee.com/lengqinjie/chess.git
git@gitee.com:lengqinjie/chess.git
lengqinjie
chess
chess
master

搜索帮助