diff --git a/src/main/c/TicTacToe.c b/src/main/c/TicTacToe.c index 837e2a2..31999f4 100644 --- a/src/main/c/TicTacToe.c +++ b/src/main/c/TicTacToe.c @@ -12,6 +12,11 @@ void Brett(char Feld[3][3]) { } } void Bild(char Feld[3][3]) { +#ifdef _WIN32 + system("cls"); +#else + system("clear"); +#endif for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { printf("%c ", Feld[i][j]);