diff options
| author | krolyxon <krolyxon@tutanota.com> | 2023-09-01 13:11:59 +0530 |
|---|---|---|
| committer | krolyxon <krolyxon@tutanota.com> | 2023-09-01 13:11:59 +0530 |
| commit | ada569514b2b55215cbc81010517f1f4a205c9ce (patch) | |
| tree | 2b075b764136449039da19520e4cc3a563ef6504 /src | |
| parent | c82d2373da535adf5d407399843aa56149b7280c (diff) | |
exit on hard
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |
