Krolyxon
Commit 5089ce0

Branches

Refs →

tros5089ce0

add winner.txt

Author
krolyxon
Date
2023-08-31 18:44 +0530
Parent
9f5aaec
Commit
5089ce0cde7f9fe5f2c6d6adf4bdd51c8e131188

+9 −0

2 files changed

  1. A assets/winner.txt +8 −0
  2. M src/main.c +1 −0
A assets/winner.txt View
@@ -0,0 +1,8 @@
1+──────────────────────────────────────────
2+ ╔╗╔╗╔╗╔══╗╔═╗ ╔╗╔═╗ ╔╗╔═══╗╔═══╗╔╗╔╗
3+ ║║║║║║╚╣╠╝║║╚╗║║║║╚╗║║║╔══╝║╔═╗║║║║║
4+ ║║║║║║ ║║ ║╔╗╚╝║║╔╗╚╝║║╚══╗║╚═╝║║║║║
5+ ║╚╝╚╝║ ║║ ║║╚╗║║║║╚╗║║║╔══╝║╔╗╔╝╚╝╚╝
6+ ╚╗╔╗╔╝╔╣╠╗║║ ║║║║║ ║║║║╚══╗║║║╚╗╔╗╔╗
7+ ╚╝╚╝ ╚══╝╚╝ ╚═╝╚╝ ╚═╝╚═══╝╚╝╚═╝╚╝╚╝
8+──────────────────────────────────────────
M src/main.c View
@@ -122,6 +122,7 @@ enum Difficulty get_difficulty() {
122122
123123 void level_up() {
124124 if (level == 10) {
125+ print_ascii("./assets/winner.txt");
125126 printf("Congratulations!! You WON the game");
126127 exit(1);
127128 }