int main() { TestGame game; try { game.begin(); } catch (const std::exception& e) { std::cout << e.what() << std::endl; return EXIT_FAILURE; } }