summaryrefslogtreecommitdiffstats
path: root/include/gomo.h
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-15 14:26:17 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-15 14:26:17 +0800
commit98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9 (patch)
tree319ebe57c18b21b8f31c95cd92626163e472b7e2 /include/gomo.h
parent5936d5aa8dd56d023c8aa475ac0505406af88268 (diff)
downloadpttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.gz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.bz2
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.lz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.xz
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.tar.zst
pttbbs-98f0f5e0a45c6771ce43d69a13aa9b9ecce3faf9.zip
Gomoku convertion to chess.c framework
* versus, watching and personal playing * undo function removed due to the restriction of the framework currently chess.c framework update * resign confirm * invited peer can be watched !!!NOTE!!! Gomoku protocal not backward compatible RESTART WHOLE system to ensure correctness git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3036 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/gomo.h')
-rw-r--r--include/gomo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gomo.h b/include/gomo.h
index b1228ba8..b5e8d014 100644
--- a/include/gomo.h
+++ b/include/gomo.h
@@ -3,9 +3,9 @@
#ifndef _INCLUDE_GOMO_H
#define _INCLUDE_GOMO_H
-#define BBLANK (0) /* 空白 */
+#define BBLANK (-1) /* 空白 */
+#define BWHITE (0) /* 白子, 後手 */
#define BBLACK (1) /* 黑子, 先手 */
-#define BWHITE (2) /* 白子, 後手 */
#define MAX_TIME (300) /*最長idle秒數*/
#ifndef BRDSIZ
#define BRDSIZ (15) /* 棋盤單邊大小 */