diff --git a/src/main/c/hangman.c b/src/main/c/hangman.c index 3591d46..a9148fe 100644 --- a/src/main/c/hangman.c +++ b/src/main/c/hangman.c @@ -5,5 +5,14 @@ #include void protokoll(); +void clear_screen(); -void protokoll(){} \ No newline at end of file +void protokoll(){ + clear_screen(); +} + +void clear_screen() { + system("clear"); + // system("cls"); // fuer Windows + // system("clear"); // fuer UNIX/Linux +} \ No newline at end of file