From d4f35cf45ebc655d92cde8abb5c9a1c2822a08ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 1 Dec 2020 14:40:00 +0100 Subject: formatting --- labb5/src/boggleplay.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'labb5/src') 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) "; -- cgit v1.2.1