Browse Source

Spielfeld erstellen

remotes/origin/tictactoedev
Sabina Grisi 11 months ago
parent
commit
228ca00db3
  1. 13
      src/TicTacToe.c

13
src/TicTacToe.c

@ -1,2 +1,15 @@
#include <stdio.h> #include <stdio.h>
#include "TicTacToe.h" #include "TicTacToe.h"
int main() {
char v = '|';
char h[] = "---";
printf("%c%s%c%s%c%s%c\n", v, h, v, h, v, h, v);
printf("%c %c %c %c\n", v, v, v, v);
printf("%c%s%c%s%c%s%c\n", v, h, v, h, v, h, v);
printf("%c %c %c %c\n", v, v, v, v);
printf("%c%s%c%s%c%s%c\n", v, h, v, h, v, h, v);
printf("%c %c %c %c\n", v, v, v, v);
printf("%c%s%c%s%c%s%c\n", v, h, v, h, v, h, v);
}
Loading…
Cancel
Save