Chinese Chess Data Format
( CS102A Fall 2019 ) :v2.4 ( 11/24)
: UTF-8
(UNIX )
()
()
/
[G]eneral
G
g
/
[A]dvisor
A
a
/
[E]lephant
E
e
/
[H]orse
H
h
/
[C]hariot
C
c
/
Ca[N]non
N
n
/
[S]oldier
S
s
1. @ (at) @[key]=[value] 2. @@ (2at)
3.
# #
n
1 2 3
# @LAST_MOVER=BLACK # #
(.chessboard)
1. : LAST_MOVER BLACK RED 2. :
1. 2. . (dot)
3. (9dash)
4.
1.
2.
(Invalid)
a. (Invalid Dimension)
b. (River Missing)
c. (Invalid Chess Amount): / d. (Space Missing)
3. ()
(.chessmoveseq)
1. : TOTAL_STEP
2. :
1. : [x] [y] [x] [y]
2. : (1,1)
3.
4. :
1 ~ 3
:
a. (Position Out Of Range)
b. / / (Invalid From Position) c. (Invalid To Position)
d. (Invalid Move Pattern)
:: 7 4 7 5 :23: 2 3 3 3
1 2 3 4 5 6
@TOTAL_STEP=2
@@
7475 2333
:
:23
Reviews
There are no reviews yet.