You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
#include "Player.h"
|
|
#include "AI.h"
|
|
class ChessGame
|
|
{
|
|
//添加数据成员
|
|
private:
|
|
Player* player;
|
|
AI* ai;
|
|
Chess* chess;
|
|
public:
|
|
ChessGame(Player* player, AI* ai, Chess* chess);
|
|
//开始对局
|
|
void play();
|
|
|
|
|
|
};
|
|
|