aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2023-08-31 18:44:41 +0530
committerkrolyxon <krolyxon@tutanota.com>2023-08-31 18:44:41 +0530
commit5089ce0cde7f9fe5f2c6d6adf4bdd51c8e131188 (patch)
tree8c3bd614f318a724f24d44fd89c46e0970a6ef4a
parent9f5aaecd886e5675c5ff4175d17ab69e232062b7 (diff)
add winner.txt
-rw-r--r--assets/winner.txt8
-rw-r--r--src/main.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/assets/winner.txt b/assets/winner.txt
new file mode 100644
index 0000000..b21345c
--- /dev/null
+++ b/assets/winner.txt
@@ -0,0 +1,8 @@
+──────────────────────────────────────────
+ ╔╗╔╗╔╗╔══╗╔═╗ ╔╗╔═╗ ╔╗╔═══╗╔═══╗╔╗╔╗
+ ║║║║║║╚╣╠╝║║╚╗║║║║╚╗║║║╔══╝║╔═╗║║║║║
+ ║║║║║║ ║║ ║╔╗╚╝║║╔╗╚╝║║╚══╗║╚═╝║║║║║
+ ║╚╝╚╝║ ║║ ║║╚╗║║║║╚╗║║║╔══╝║╔╗╔╝╚╝╚╝
+ ╚╗╔╗╔╝╔╣╠╗║║ ║║║║║ ║║║║╚══╗║║║╚╗╔╗╔╗
+ ╚╝╚╝ ╚══╝╚╝ ╚═╝╚╝ ╚═╝╚═══╝╚╝╚═╝╚╝╚╝
+──────────────────────────────────────────
diff --git a/src/main.c b/src/main.c
index 5a20526..ce7c729 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);
}