From 201e2db71adeef06d195f082a8d9ae148a75fd1d Mon Sep 17 00:00:00 2001 From: peauxh9ov <1757486528@qq.com> Date: Tue, 18 Jun 2024 00:00:18 +0800 Subject: [PATCH] ADD file via upload --- ChessGame.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ChessGame.h diff --git a/ChessGame.h b/ChessGame.h new file mode 100644 index 0000000..78355dd --- /dev/null +++ b/ChessGame.h @@ -0,0 +1,18 @@ +#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(); + + +}; +