X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=src%2Fmain.c;h=7a327bed08e9bb79e74ecfbb03cd3f9815d08667;hp=ead55ef8004ee9c018a5ace3fbb72c82cb1d5cb5;hb=2e5c189444a82df0d9127c94322ec4e3b159dcce;hpb=4ddf6f1a0411ed147ba7a2ac178c186ebef374b5 diff --git a/src/main.c b/src/main.c index ead55ef..7a327be 100644 --- a/src/main.c +++ b/src/main.c @@ -4,6 +4,7 @@ #include #include "ui.h" +#include "othello.h" int main() { int row = 0, col = 0; @@ -23,7 +24,7 @@ int main() { /* center the board */ int center_board_y = row/2 - 23/2; - int center_board_x = col/2 - 40/2; + int center_board_x = col/2 - 41/2; do { print_board(center_board_y, center_board_x);