Search found 748 matches

by phhnguyen
Wed Aug 25, 2010 1:58 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

You lost me completely here. What do you mean when you say "Rook of 2nd side"? There are no Rook moves in the diagram 61 I have! Just Elephants and Horses. And no Cannon moves in A3. Sorry, but I don't lose you. I said about a chasing pattern, not moves. In my algorithm, when judging the black move...
by phhnguyen
Tue Aug 24, 2010 12:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Optimization and benchmarking
Replies: 12
Views: 1452

Re: Optimization and benchmarking

I have seen some things similar for my tests but mainly lower results or not stable data. I guess that when your engine has just started with requests of huge resource, the system has to do some heavy tasks such as accessing disk (usually I hear disk sound a while after starting an engine) to write ...
by phhnguyen
Tue Aug 24, 2010 12:28 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

If they are equivalent, I would prefer to implement (1) or (2), because that judges the sides independently from each other. For each existing capture of the chasing side I have to remove those of protected pieces, those that were already possible before the move and not protected then, those that ...
by phhnguyen
Mon Aug 23, 2010 1:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

OK, so your rule is not that is _can_ attack, but that it _does_ attack back, to be considered fair. It becomes a bit difficult to come up with sensible examples if it is not clear what rule you apply. But anyway, my two rules (1) and (2) are different. Are you claiming that your rule is equivalent...
by phhnguyen
Mon Aug 23, 2010 7:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

I am very lazy to "run" algorithm without program, so I have to create the full game as the following. Tell me and modify the game if you don't satisfy: [Event "Edited game"] [Site "PHAM"] [Date "2010.08.23"] [Round "-"] [White "-"] [Black "-"] [Result "1/2-1/2"] [Variant "xiangqi"] [FEN "1cc1k4/4a4...
by phhnguyen
Mon Aug 23, 2010 6:10 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

Indeed, this is my solution (1). Solution (2) would be more strict. It would count subversion chases as equal violations to firect-attack chases, but in case of a subversion chase, it would apply an extra test (on move by move basis): a) is the subverted protector a Cannon? b) is there a Rook among...
by phhnguyen
Mon Aug 23, 2010 12:40 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

It seems that now we have the same understanding /explaining on almost all thing. Let me clarify few details first: Indeed, I did. But that is a chase by protection subversion, the staus of which is unclear, and needs to be resolved by extra rules (1), (2) or (3 = fair-chase concept). The point is t...
by phhnguyen
Sun Aug 22, 2010 3:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

The crucial difference between A3 and 61 is that in 61 the Rook is not attacking the Ch2 on all moves. Only when you withdraw the Horse to clear the line between Ch2 and Rc2 des the Rook attack Ch2. When you interpose the Horse there is no attack on that Cannon. So that Cannon is not perpetually ch...
by phhnguyen
Sun Aug 22, 2010 9:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

In this modified Appendix 3 I have no problem explaining the draw without using any of the extra rules (1) or (2): white is perpetually chasing Ci8, alternately by Rf8 and Rd8, (two chasing one: forbidden.), and black is on all moves resolving the attack alternately by protecting Ci8 with Ca8 or bl...
by phhnguyen
Sat Aug 21, 2010 11:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8394

Re: A method to implement Asian rule

The original moves of Appendix 3 are not correct, base on its last comment. I have re-edited its moves as the following: [Event "Asia Rules Appendix 3"] [Site "NHATMINH"] [Date "2010.08.10"] [Round "-"] [White "-"] [Black "-"] [Result "1/2-1/2"] [Variant "xiangqi"] [FEN "3aka3/c2R1R2c/4e4/9/9/9/9/4E...