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(); + + +}; +