add winner.txt

This commit is contained in:
krolyxon 2023-08-31 18:44:41 +05:30
parent 9f5aaecd88
commit 5089ce0cde
2 changed files with 9 additions and 0 deletions

8
assets/winner.txt Normal file
View File

@ -0,0 +1,8 @@
──────────────────────────────────────────
╔╗╔╗╔╗╔══╗╔═╗ ╔╗╔═╗ ╔╗╔═══╗╔═══╗╔╗╔╗
║║║║║║╚╣╠╝║║╚╗║║║║╚╗║║║╔══╝║╔═╗║║║║║
║║║║║║ ║║ ║╔╗╚╝║║╔╗╚╝║║╚══╗║╚═╝║║║║║
║╚╝╚╝║ ║║ ║║╚╗║║║║╚╗║║║╔══╝║╔╗╔╝╚╝╚╝
╚╗╔╗╔╝╔╣╠╗║║ ║║║║║ ║║║║╚══╗║║║╚╗╔╗╔╗
╚╝╚╝ ╚══╝╚╝ ╚═╝╚╝ ╚═╝╚═══╝╚╝╚═╝╚╝╚╝
──────────────────────────────────────────

View File

@ -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);
}