Tested Makulit with all those positions for up to depth 5 only and agreed with those numbers.
Chinese chess Xiangqi perft results
Moderator: Ras
- 
				Ferdy
- Posts: 4851
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
- 
				phhnguyen  
- Posts: 1525
- Joined: Wed Apr 21, 2010 4:58 am
- Location: Australia
- Full name: Nguyen Hong Pham
Re: Chinese chess Xiangqi perft results
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
			
						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
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
			
			
									
						
										
						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