This commit is contained in:
Matúš Púll 2024-12-04 12:30:03 +01:00
parent 02f72064cd
commit 7d756bc066

View file

@ -95,6 +95,7 @@ int main(int argc, char* argv[]) {
for(auto guess : history)
cout << format_guess_history(sequence, guess) << std::endl;
// Loss
if(history.back() != sequence) {
cout << format_lost_sequence(sequence) << std::endl;
return 1;