Skip to content
Snippets Groups Projects
Commit c5a2bc2d authored by sabrina.lapaire's avatar sabrina.lapaire
Browse files

Modifier main.c

parent 55e95bf1
Branches
No related tags found
No related merge requests found
#include "board.h"
#include "twoPlayers.h"
int main(int argc, char **argv){
struct board board = create_board(atoi(argv[3]), atoi(argv[2]));
init_board(&board);
printf("Board size is %dx%d (rows x col)\n", board.line, board.col);
print_game(&board);
free_board(&board);
return EXIT_SUCCESS;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment