summaryrefslogtreecommitdiffstats
path: root/include/chc.h
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-08 02:12:55 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-08 02:12:55 +0800
commit68b60cb8d7601ddafd322184a79cd3e4d11688dd (patch)
treee2c3d0e1abf7d56082fd017702b5a9ddc0614f4f /include/chc.h
parent25712a5f0eea228f8bbe09257e8c1b15a50c0241 (diff)
downloadpttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar.gz
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar.bz2
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar.lz
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar.xz
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.tar.zst
pttbbs-68b60cb8d7601ddafd322184a79cd3e4d11688dd.zip
calculate chess ELO rating
only show rating in debug mode now git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2228 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/chc.h')
-rw-r--r--include/chc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/chc.h b/include/chc.h
index 416f1193..052565cf 100644
--- a/include/chc.h
+++ b/include/chc.h
@@ -37,6 +37,7 @@ typedef struct chcusr_t{
int win;
int lose;
int tie;
+ unsigned short rating;
} chcusr_t;
#define CHC_ACT_BOARD 0x1 /* set if transfered board to this sock */