10 #include "screenBuffer.h" 23 void throwError(BOOL result,
const std::string& message)
const 27 DWORD errorCode = GetLastError();
28 std::string fullMessage = message +
" Error Code: " + std::to_string(errorCode);
29 throw std::runtime_error(fullMessage);
virtual int run()
Run the game.
A parent class that represents a general game.
Definition: Game.h:16