diff options
Diffstat (limited to 'labb5/src/boggleplay.cpp')
| -rwxr-xr-x | labb5/src/boggleplay.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/labb5/src/boggleplay.cpp b/labb5/src/boggleplay.cpp index 8219928..2b9b4b1 100755 --- a/labb5/src/boggleplay.cpp +++ b/labb5/src/boggleplay.cpp @@ -55,10 +55,14 @@ void playOneGame(Boggle& boggle) { clearConsole(); cout << endl; // this is later replaced by the response to the prev word - if (boggle.debug_mode) cout << endl; // debug mode means two prints per guess + if (boggle.debug_mode) { + cout << endl; // debug mode means two prints per guess + } string user_input; while (true) { - if (boggle.debug_mode) cout << boggle.words_to_string(words_left) << endl << endl; + if (boggle.debug_mode) { + cout << boggle.words_to_string(words_left) << endl << endl; + } cout << "It's your turn!" << endl; print_user_status(boggle); cout << "Type a word (or press Enter to end your turn) "; |
