repositories
/
Project_algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cleanup and fix the logic behind the player constants number
[Project_algorithmic_C.git]
/
lib
/
constants.h
diff --git
a/lib/constants.h
b/lib/constants.h
index bc15fd15e9de1a3e891d38713f3e124636a34f5c..186e5dba3485420051252baa43116bacb05cae9f 100644
(file)
--- a/
lib/constants.h
+++ b/
lib/constants.h
@@
-23,8
+23,8
@@
//extern const unsigned int board_size; /* 8 */
extern const unsigned int empty; /* 0 */
//extern const unsigned int board_size; /* 8 */
extern const unsigned int empty; /* 0 */
-extern const unsigned int
white
; /* 1 */
-extern const unsigned int
black
; /* 2 */
+extern const unsigned int
black
; /* 1 */
+extern const unsigned int
white
; /* 2 */
extern const unsigned int player_one; /* black */
extern const unsigned int player_two; /* white */
extern const unsigned int player_one; /* black */
extern const unsigned int player_two; /* white */