#includeclass Game { public: enum Status { not_finished = 0, breaker_won, maker_won }; Game (int m, int n) : m_m(m), m_n(n), m_s(not_finished) { m_game = this; } static Game *getInstance() { return m_game; } Status notFinished() { return m_s; } void generateCode(); void print(); friend class Player; friend class Codebreaker; friend class Codemaker; private: int m_m, m_n; Status m_s; static Game * m_game; vector m_code; };