Browse Source

refactoring neue Funktion void drawBoard

remotes/origin/tictactoedev
Sabina Grisi 11 months ago
parent
commit
7d052426ee
  1. 4
      src/TicTacToe.c

4
src/TicTacToe.c

@ -12,6 +12,10 @@ int main() {
int pos8 = 8;
int pos9 = 9;
drawBoard(pos1, pos2, pos3, pos4, pos5, pos6, pos7, pos8, pos9);
}
void drawBoard(int pos1, int pos2, int pos3, int pos4, int pos5, int pos6, int pos7, int pos8, int pos9) {
char vertical = '|';
char horizontal[] = "---";

Loading…
Cancel
Save