Browse Source

refactoring neue Funktion void drawBoard

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

6
src/TicTacToe.c

@ -11,7 +11,11 @@ int main() {
int pos7 = 7;
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