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