smarter & pointier
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user