aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolyxon <106688908+krolyxon@users.noreply.github.com>2023-09-01 17:14:18 +0530
committerGitHub <noreply@github.com>2023-09-01 17:14:18 +0530
commit4d0fe32402d096d46fd8d9f588a96fe83956fda6 (patch)
treebd4fe3418091821720d488e6a1f6de62ebf1c0f6
parent44532d37b530a47de660395994168de11dbc588a (diff)
parent38ea7934eb05998b238bda09adb90697f31f0e28 (diff)
Merge pull request #1 from TheoIsDumb/master
lil grammar edit + color_red for fail
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index e3b7ed9..6b02572 100644
--- a/src/main.c
+++ b/src/main.c
@@ -91,10 +91,10 @@ void decrement_score(Difficulty diff) {
"The score will be decremented by 10\n");
score -= EASY_SCORE_DECREMENT;
} else if (diff == Medium) {
- printf("Wrong Answer!! The score will be decremented by 20\n");
+ printf("Wrong Answer!! The score will be decremented by 20.\n");
score -= MEDIUM_SCORE_DECREMENT;
} else {
- printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!" COLOR_OFF);
+ printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!\n" COLOR_OFF);
exit(1);
}
}
@@ -147,7 +147,7 @@ void level_down() {
level--;
size -= 3;
} else {
- printf("Too many wrong answers!!, You Lose!");
+ printf("Too many wrong answers!! " COLOR_RED COLOR_BOLD "You Lose!!\n" COLOR_OFF);
exit(1);
}
}