Krolyxon
Commit 4d0fe32

Branches

Refs →

tros4d0fe32

Merge pull request #1 from TheoIsDumb/master

lil grammar edit + color_red for fail
Author
krolyxon
Date
2023-09-01 17:14 +0530
Committer
GitHub · 2023-09-01 17:14 +0530
Parents
44532d3 38ea793
Commit
4d0fe32402d096d46fd8d9f588a96fe83956fda6

+3 −3

1 file changed

  1. M src/main.c +3 −3
M src/main.c View
@@ -91,10 +91,10 @@ void decrement_score(Difficulty diff) {
9191 "The score will be decremented by 10\n");
9292 score -= EASY_SCORE_DECREMENT;
9393 } else if (diff == Medium) {
94− printf("Wrong Answer!! The score will be decremented by 20\n");
94+ printf("Wrong Answer!! The score will be decremented by 20.\n");
9595 score -= MEDIUM_SCORE_DECREMENT;
9696 } else {
97− printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!" COLOR_OFF);
97+ printf(COLOR_RED COLOR_BOLD "Wrong Answer!! You Lose!!\n" COLOR_OFF);
9898 exit(1);
9999 }
100100 }
@@ -147,7 +147,7 @@ void level_down() {
147147 level--;
148148 size -= 3;
149149 } else {
150− printf("Too many wrong answers!!, You Lose!");
150+ printf("Too many wrong answers!! " COLOR_RED COLOR_BOLD "You Lose!!\n" COLOR_OFF);
151151 exit(1);
152152 }
153153 }