EY_ESC 0x001BР#define KEY_1 '1'Р#define KEY_2 '2'Р#define KEY_3 '3'Р#define GAME_MAX_WIDTH 100Р#define GAME_MAX_HEIGHT 100Р// Strings ResourceР#define STR_GAMETITLE "ArrowKey:MoveCursor Key1:Open \РKey2:Mark Key3:OpenNeighbors"Р#define STR_GAMEWIN "Congratulations! You Win! Thank you for playing!\n"Р#define STR_GAMEOVER "Game Over, thank you for playing!\n"Р#define STR_GAMEEND "Presented by yzfy . Press ESC to exit\n"Р//-------------------------------------------------------------Р// Base classРonsoleWndР{Р public:Р static int TextOut(const char*);Р static int GotoXY(int, int);Р static int CharOut(int, int, const int);Р static int TextOut(int, int, const char*);Р static int GetKey();Р public:Р};Р//{{// onsoleWndР //Р // onsoleWnd::GetKey()Р // Wait for standard input and return the KeyCode