Page 1 of 1

Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 01 Oct 2023, 05:51
by kuiba
Xiangqi engine Sjaakii can't slove a simple PGN
2023.10.01

中国象棋引擎 sjaakii , 无法解出一个简单的棋局 PGN

source: Tencent TianTian Xiangqi CanJu ChuangGuan 403
腾迅 天天象棋,残局闯关,第403关

[Event "Tencent TianTian Xiangqi CanJu ChuangGuan 403"]
[Site "debian"]
[Date "2023.10.01"]
[Round "-"]
[White "-"]
[Black "-"]
[Result "1-0"]
[Variant "xiangqi"]
[FEN "4kae2/4a4/1c2ec2h/p5p1p/3H2r2/6C2/P2R2P1P/4C4/4A4/2E1KAE2 w 0 1"]
[SetUp "1"]

{--------------
. . . . k a e . .
. . . . a . . . .
. c . . e c . . h
p . . . . . p . p
. . . H . . r . .
. . . . . . C . .
P . . R . . P . P
. . . . C . . . .
. . . . A . . . .
. . E . K A E . .
white to play
--------------}
1. Hc7 {+1.24/8} Cb0+ {+0.00/4 0.1} 2. Ea2 {+4.05/11 4} Cxc7 {+0.00/6 0.4}
3. Kd0 {+4.04/11 6} Ccc0+ {+0.00/2 0.1} 4. Kd1 {+3.94/10 8} Cd0 {+0.00/7 8}
5. Kxd0 {+5.25/9 6} Re5 {+0.00/8 5} 6. Cxg9+ {+6.16/10 5} Exg9
{+0.00/5 2.4} 7. Rd9# {+6.37/10 5}
{White mates} 1-0

.
Image

Re: Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 01 Oct 2023, 10:25
by H.G.Muller
What do you mean by 'solving a PGN'? It refuses to lodad the game? It complains about illegal moves? And how did you use Sjaak II anyway? As engine in the WinBoard GUI, or in stand-alone mode?

Re: Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 01 Oct 2023, 15:00
by kuiba
H.G.Muller wrote:What do you mean by 'solving a PGN'? It refuses to lodad the game? It complains about illegal moves? And how did you use Sjaak II anyway? As engine in the WinBoard GUI, or in stand-alone mode?

sorry. I want to say: the Xiangqi engine Sjaakii is more powerful than maxqi, hoixiangqi, but it still can't give the right (or "the best") moves for the FEN position. now It may play many steps, and then give a DRAW result (in fact, should be "1-0, Red Win")

it just a funny sample, but not a bug.

I think that, if I want to win the sjaakii engine, where is "the Achilles' Heel"?

Re: Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 01 Oct 2023, 15:04
by kuiba
H.G.Muller wrote:What do you mean by 'solving a PGN'? It refuses to lodad the game? It complains about illegal moves? And how did you use Sjaak II anyway? As engine in the WinBoard GUI, or in stand-alone mode?

by the way, how about your haqikid ? years ago I got an amd64 version from you, but it works unstably. Now my OS is Debian 11.7 amd64, XBoard 4.9.1 (updated from Debian 10 amd64).

Re: Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 12 Oct 2023, 09:39
by H.G.Muller
Sjaak II is not very strong; it is a general multi-vatriant engine, so it does not contain any Xiangqi-specific evaluation. MaxQi is a toy engine derived from micro-Max, which counts only ~100 lines of C code, so it is not surprising that it is very weak.

I have not worked on HaQiKi D for ages.

Re: Xiangqi engine Sjaakii can't slove a simple PGN

PostPosted: 22 Oct 2023, 15:40
by kuiba
H.G.Muller wrote:Sjaak II is not very strong; it is a general multi-vatriant engine, so it does not contain any Xiangqi-specific evaluation. MaxQi is a toy engine derived from micro-Max, which counts only ~100 lines of C code, so it is not surprising that it is very weak.

I have not worked on HaQiKi D for ages.


thanks for your job, for ages and all the time.