Chinese chess Xiangqi perft results

Discussion of chess software programming and technical issues.

Moderator: Ras

Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chinese chess Xiangqi perft results

Post by Ferdy »

phhnguyen wrote: Tue Feb 09, 2021 11:00 pm Some Perft results from my test set. All are computed & verified by two different chess apps.
Tested Makulit with all those positions for up to depth 5 only and agreed with those numbers.
User avatar
phhnguyen
Posts: 1525
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Chinese chess Xiangqi perft results

Post by phhnguyen »

Ferdy wrote: Wed Feb 10, 2021 12:55 am
phhnguyen wrote: Tue Feb 09, 2021 11:00 pm Some Perft results from my test set. All are computed & verified by two different chess apps.
Tested Makulit with all those positions for up to depth 5 only and agreed with those numbers.
Thanks for a so-quick verification! Look like those numbers are “safe” enough to post on CPW too :)
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
noobpwnftw
Posts: 694
Joined: Sun Nov 08, 2015 11:10 pm
Full name: Bojun Guo

Re: Chinese chess Xiangqi perft results

Post by noobpwnftw »

Had a quick look at your rule set implementation, I don't think it is right. Repetition is not always lost for the playing side, for example, this is a trivial draw:
https://www.chessdb.cn/query_en/?3akr3/ ... 9/4CK3%20w

Some other exotic examples:
4kr3/9/5c3/5R3/9/4C4/9/9/6n2/5K3 w moves f6e6 f7e7 e6f6 e7f7
2bak4/4a4/4b4/9/6c2/6R2/4c4/4C4/4N4/3AKA3 b moves g5c5 g4c4 c5g5 c4g4
2cak4/4a4/9/2r6/9/9/9/2N1BC3/4A4/2BAK4 w moves c2d4 c6c4 d4c2 c4c6

The most practical(and least disputed) rule book of the day:
https://www.asianxiangqi.org/%E6%AF%94% ... B_2017.pdf