aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 2de0f4c..e3b7ed9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -94,8 +94,8 @@ void decrement_score(Difficulty diff) {
printf("Wrong Answer!! The score will be decremented by 20\n");
score -= MEDIUM_SCORE_DECREMENT;
} else {
- printf("Wrong Answer!! The score will be reseted to 0\n");
- score = 0;
+ printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!" COLOR_OFF);
+ exit(1);
}
}