From 7aebe2a9dc0fb96365149fdde3b095e7bd66eb51 Mon Sep 17 00:00:00 2001 From: fdai7472 Date: Mon, 29 Jan 2024 15:43:49 +0100 Subject: [PATCH] Welcome Message added --- src/main/c/Stefan/slot_machine.c | 23 ++++++++++++++++++++++- src/main/c/Stefan/slot_machine.h | 1 + 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/main/c/Stefan/slot_machine.c b/src/main/c/Stefan/slot_machine.c index 0489155..b5ad747 100644 --- a/src/main/c/Stefan/slot_machine.c +++ b/src/main/c/Stefan/slot_machine.c @@ -1,3 +1,24 @@ #include "slot_machine.h" +#include -void slotMachine(){} \ No newline at end of file +void slotMachine(){ + + welcomeMessage(); + + + + + + + +} + +void welcomeMessage(){ + printf("Herzlich Willkommen zur \n\n" + " _ _ _ _ \n" + " | | | | | | (_) \n" + " ___| | ___ | |_ _ __ ___ __ _ ___| |__ _ _ __ ___ \n" + "/ __| |/ _ \\| __| | '_ ` _ \\ / _` |/ __| '_ \\| | '_ \\ / _ \\\n" + "\\__ \\ | (_) | |_ | | | | | (_| | (__| | | | | | | | __/\n" + "|___/_|\\___/ \\__| |_| |_| |_|\\__,_|\\___|_| |_|_|_| |_|\\___|\n\n"); +} \ No newline at end of file diff --git a/src/main/c/Stefan/slot_machine.h b/src/main/c/Stefan/slot_machine.h index 802a09f..588b6ea 100644 --- a/src/main/c/Stefan/slot_machine.h +++ b/src/main/c/Stefan/slot_machine.h @@ -2,5 +2,6 @@ #define SLOT_MACHINE_H void slotMachine(); +void welcomeMessage(); #endif // SLOT_MACHINE_H \ No newline at end of file