smarter & pointier

This commit is contained in:
2025-03-03 12:00:39 +01:00
parent 47d3d929db
commit d029589c21
6 changed files with 19 additions and 10 deletions

View File

@@ -195,11 +195,13 @@ void TextApp::startGame() const {
}
}
std::cout << "\n\n\n";
if (paused) {
std::cout << "--<[PAUSED]>--" << std::endl;
if (!quit) {
std::cout << "\n\n\n";
if (paused) {
std::cout << "--<[PAUSED]>--" << std::endl;
}
this->printGame(game);
}
this->printGame(game);
if (game.hasLost()) {
quit = true;

View File

@@ -18,6 +18,9 @@ void readStatsFromFilesForAllSizes(int amount);
int main(int argc, char** argv) {
std::srand(std::time(NULL));
// dev: generate files if it hasn't been done before, UI will NOT generate the files
//generateFilesForAllSizes(10);
TextApp UI;
UI.run();