From 78b925ac68a334c451439929a5aacd69fb0ab1cc Mon Sep 17 00:00:00 2001 From: pwhjurltz <2624989522@qq.com> Date: Tue, 9 Jan 2024 20:39:05 +0800 Subject: [PATCH] ADD file via upload --- ChessGame.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ChessGame.h diff --git a/ChessGame.h b/ChessGame.h new file mode 100644 index 0000000..275d3cb --- /dev/null +++ b/ChessGame.h @@ -0,0 +1,17 @@ +#pragma once +#include"Man.h" +#include"AI.h" +#include"Chess.h" +class ChessGame +{ +public: + ChessGame(Man* man, AI* ai, Chess* chess); + void play();//开始对局 + +//添加数据成员 +private: + Man* man; + AI* ai; + Chess* chess; +}; +