#ifndef GAME_H #define GAME_H #include "Player.h" class Game { private: std::vector players; // 其他成员变量... public: void addPlayer(const Player& player); bool isGameOver() const; void endGame(); }; #endif