repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve the debug printing function:
[Project_algorithmic_C.git]
/
lib
/
othello.c
diff --git
a/lib/othello.c
b/lib/othello.c
index 4e03069f0ee50981863601fb178ef5f93c49f1d3..a66a121f2e57aa56aa8ff4c9204593abd19c60ff 100644
(file)
--- a/
lib/othello.c
+++ b/
lib/othello.c
@@
-67,7
+67,7
@@
bool is_box_type(int y, int x, unsigned int pawn_array[board_size][board_size],
}
static bool is_valid_coordinates(int y, int x) {
-
+
if ((y > 0 && y < board_size + 1) && \
(x > 0 && x < board_size + 1)) {
return true;