From: Elias Fleckenstein Date: Mon, 7 Jun 2021 13:49:03 +0000 (+0200) Subject: Colored game over message X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=3fd6425bfe0c31a4e1fe005c6a6b69e65e930c00;p=ttfe.git Colored game over message --- diff --git a/main.c b/main.c index 17ccf3f..963d9e4 100644 --- a/main.c +++ b/main.c @@ -448,7 +448,7 @@ void print_board(board *b) { } void print_score(board *b) { - printf("Game Over\nScore:%u\n", b->points); + printf("\e[1m\e[91mGame Over\e[0m\n\e[1mScore: \e[0m%u\n", b->points); } void merge_test1() {