tros5089ce0
add winner.txt
+9 −0
2 files changed
- A assets/winner.txt +8 −0
- M src/main.c +1 −0
| @@ -0,0 +1,8 @@ | |||
| 1 | + | ────────────────────────────────────────── | |
| 2 | + | ╔╗╔╗╔╗╔══╗╔═╗ ╔╗╔═╗ ╔╗╔═══╗╔═══╗╔╗╔╗ | |
| 3 | + | ║║║║║║╚╣╠╝║║╚╗║║║║╚╗║║║╔══╝║╔═╗║║║║║ | |
| 4 | + | ║║║║║║ ║║ ║╔╗╚╝║║╔╗╚╝║║╚══╗║╚═╝║║║║║ | |
| 5 | + | ║╚╝╚╝║ ║║ ║║╚╗║║║║╚╗║║║╔══╝║╔╗╔╝╚╝╚╝ | |
| 6 | + | ╚╗╔╗╔╝╔╣╠╗║║ ║║║║║ ║║║║╚══╗║║║╚╗╔╗╔╗ | |
| 7 | + | ╚╝╚╝ ╚══╝╚╝ ╚═╝╚╝ ╚═╝╚═══╝╚╝╚═╝╚╝╚╝ | |
| 8 | + | ────────────────────────────────────────── | |
| @@ -122,6 +122,7 @@ enum Difficulty get_difficulty() { | |||
| 122 | 122 | ||
| 123 | 123 | void level_up() { | |
| 124 | 124 | if (level == 10) { | |
| 125 | + | print_ascii("./assets/winner.txt"); | |
| 125 | 126 | printf("Congratulations!! You WON the game"); | |
| 126 | 127 | exit(1); | |
| 127 | 128 | } | |