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