lil grammar edit + color_red for fail
This commit is contained in:
parent
4796585535
commit
38ea7934eb
|
|
@ -91,10 +91,10 @@ void decrement_score(Difficulty diff) {
|
||||||
"The score will be decremented by 10\n");
|
"The score will be decremented by 10\n");
|
||||||
score -= EASY_SCORE_DECREMENT;
|
score -= EASY_SCORE_DECREMENT;
|
||||||
} else if (diff == Medium) {
|
} 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;
|
score -= MEDIUM_SCORE_DECREMENT;
|
||||||
} else {
|
} 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);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -147,7 +147,7 @@ void level_down() {
|
||||||
level--;
|
level--;
|
||||||
size -= 3;
|
size -= 3;
|
||||||
} else {
|
} else {
|
||||||
printf("Too many wrong answers!!, You Lose!");
|
printf("Too many wrong answers!! " COLOR_RED COLOR_BOLD "You Lose!!\n" COLOR_OFF);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in New Issue