repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to the const definition
[Project_algorithmic_C.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index ead55ef8004ee9c018a5ace3fbb72c82cb1d5cb5..7a327bed08e9bb79e74ecfbb03cd3f9815d08667 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-4,6
+4,7
@@
#include <ncurses.h>
#include "ui.h"
#include <ncurses.h>
#include "ui.h"
+#include "othello.h"
int main() {
int row = 0, col = 0;
int main() {
int row = 0, col = 0;
@@
-23,7
+24,7
@@
int main() {
/* center the board */
int center_board_y = row/2 - 23/2;
/* center the board */
int center_board_y = row/2 - 23/2;
- int center_board_x = col/2 - 4
0
/2;
+ int center_board_x = col/2 - 4
1
/2;
do {
print_board(center_board_y, center_board_x);
do {
print_board(center_board_y, center_board_x);