diff options
Diffstat (limited to 'labb5')
| -rwxr-xr-x | labb5/src/boggleplay.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/labb5/src/boggleplay.cpp b/labb5/src/boggleplay.cpp index 21b3172..3bb1134 100755 --- a/labb5/src/boggleplay.cpp +++ b/labb5/src/boggleplay.cpp @@ -91,6 +91,8 @@ void playOneGame(Boggle& boggle) { cout << endl; if (boggle.get_computer_score() > boggle.get_user_score()) { cout << "Ha ha ha, I destroyed you. Better luck next time, puny human!" << endl; + } else if (boggle.get_computer_score() == boggle.get_user_score()) { + cout << "Close one!" << endl; } else { cout << "WOW, you defeated me! Congratulations!" << endl; } |
