This commit is contained in:
2024-07-30 12:29:12 +03:00
parent 69ca98ffb5
commit aa0a2c5fb9
4 changed files with 124 additions and 26 deletions

View File

@@ -1,10 +1,12 @@
#include <stdio.h>
#include "test_utils.h"
#include "../global_macros.h"
#include "../globals.h"
void printBoard(char board[BRD_SIZE_X][BRD_SIZE_Y]) {
for (int i = 0; i < BRD_SIZE_X; i++) {
for (int j = 0; j < BRD_SIZE_Y; j++) {
extern char board[BRD_SIZE_Y][BRD_SIZE_X];
void printBoard() {
for (int i = 0; i < BRD_SIZE_Y; i++) {
for (int j = 0; j < BRD_SIZE_X; j++) {
printf("%c", board[i][j]);
}
printf("\n");