From 5089ce0cde7f9fe5f2c6d6adf4bdd51c8e131188 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Thu, 31 Aug 2023 18:44:41 +0530 Subject: [PATCH] add winner.txt --- assets/winner.txt | 8 ++++++++ src/main.c | 1 + 2 files changed, 9 insertions(+) create mode 100644 assets/winner.txt 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); }