add winner.txt
This commit is contained in:
parent
9f5aaecd88
commit
5089ce0cde
|
|
@ -0,0 +1,8 @@
|
|||
──────────────────────────────────────────
|
||||
╔╗╔╗╔╗╔══╗╔═╗ ╔╗╔═╗ ╔╗╔═══╗╔═══╗╔╗╔╗
|
||||
║║║║║║╚╣╠╝║║╚╗║║║║╚╗║║║╔══╝║╔═╗║║║║║
|
||||
║║║║║║ ║║ ║╔╗╚╝║║╔╗╚╝║║╚══╗║╚═╝║║║║║
|
||||
║╚╝╚╝║ ║║ ║║╚╗║║║║╚╗║║║╔══╝║╔╗╔╝╚╝╚╝
|
||||
╚╗╔╗╔╝╔╣╠╗║║ ║║║║║ ║║║║╚══╗║║║╚╗╔╗╔╗
|
||||
╚╝╚╝ ╚══╝╚╝ ╚═╝╚╝ ╚═╝╚═══╝╚╝╚═╝╚╝╚╝
|
||||
──────────────────────────────────────────
|
||||
|
|
@ -122,6 +122,7 @@ enum Difficulty get_difficulty() {
|
|||
|
||||
void level_up() {
|
||||
if (level == 10) {
|
||||
print_ascii("./assets/winner.txt");
|
||||
printf("Congratulations!! You WON the game");
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue