Browse Source

Welcome Message added

remotes/origin/dev
fdai7472 11 months ago
parent
commit
7aebe2a9dc
  1. 23
      src/main/c/Stefan/slot_machine.c
  2. 1
      src/main/c/Stefan/slot_machine.h

23
src/main/c/Stefan/slot_machine.c

@ -1,3 +1,24 @@
#include "slot_machine.h" #include "slot_machine.h"
#include <stdio.h>
void slotMachine(){}
void slotMachine(){
welcomeMessage();
}
void welcomeMessage(){
printf("Herzlich Willkommen zur \n\n"
" _ _ _ _ \n"
" | | | | | | (_) \n"
" ___| | ___ | |_ _ __ ___ __ _ ___| |__ _ _ __ ___ \n"
"/ __| |/ _ \\| __| | '_ ` _ \\ / _` |/ __| '_ \\| | '_ \\ / _ \\\n"
"\\__ \\ | (_) | |_ | | | | | (_| | (__| | | | | | | | __/\n"
"|___/_|\\___/ \\__| |_| |_| |_|\\__,_|\\___|_| |_|_|_| |_|\\___|\n\n");
}

1
src/main/c/Stefan/slot_machine.h

@ -2,5 +2,6 @@
#define SLOT_MACHINE_H #define SLOT_MACHINE_H
void slotMachine(); void slotMachine();
void welcomeMessage();
#endif // SLOT_MACHINE_H #endif // SLOT_MACHINE_H
Loading…
Cancel
Save