|
@ -134,10 +134,10 @@ void printBoard(){ |
|
|
} |
|
|
} |
|
|
printf("\n"); |
|
|
printf("\n"); |
|
|
|
|
|
|
|
|
for (int i = 0; i < 3; ++i) { |
|
|
|
|
|
|
|
|
for (int line = 0; line < 3; ++line) { |
|
|
printf("| "); |
|
|
printf("| "); |
|
|
for (int j = 0; j < 3; ++j) { |
|
|
|
|
|
if( GAME.board[i][j] == true ) |
|
|
|
|
|
|
|
|
for (int column = 0; column < 3; ++column) { |
|
|
|
|
|
if( GAME.board[line][column] == true ) |
|
|
printf( "X" ); |
|
|
printf( "X" ); |
|
|
else |
|
|
else |
|
|
printf ( " " ); |
|
|
printf ( " " ); |
|
|