Search found 846 matches

by phhnguyen
Sat Aug 21, 2010 10:12 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Somehow this disturbs me very much. I don't understand exactly what this "chase score" is meaning, and how you use it. ChaseScore is score of the level of chase violence. Value 0 means there is no chase. 1 is a normal chase. 2 or highter means worser chase. Base on chase scores I will create the re...
by phhnguyen
Fri Aug 20, 2010 9:55 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Well, let's discuss this point first: I don't think this is correct in Asia rule. Diagram 48 states that if one side chases a Rook, and the other a Horse, it is draw. What the mentioned positions have in common is not merely that one side chases a Rook. It is that the side who chases the Rook prote...
by phhnguyen
Fri Aug 20, 2010 1:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

I think you would have to remove all those triples from list 1 which have a beProtected that is _better_ or equal in list 1 than list 2, not just equal (when the other two are equal). If in list 1 (after the move) the victim is protected, it is not a chase, even if before the move, or after the eva...
by phhnguyen
Thu Aug 19, 2010 4:03 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

I will give you an illustation of how the algorithm works. In almost all cases of Asian rule examples, victims usually have not any protectors so the algorithm works as the old version (before adding the boolean variable beProtected). The previous illustration which I have posted on 08/08/2010 (in t...
by phhnguyen
Thu Aug 19, 2010 1:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Hi all, I will show you my modification of algorithm to deal with perpetual chase type of using protector (Appendix cases). The algorithm has been still in development and not completed yet (the last Appedix example of Asian rule still fail, some real games still need to check). However I post here:...
by phhnguyen
Wed Aug 18, 2010 11:52 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Thank Muller, your explanation about WB is very clear.
by phhnguyen
Wed Aug 18, 2010 12:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

You are right in this case. I have been trying to find an example of attacker-specific which I have different conclusion, but not success for above example. BTW, just OT, when I create that game in WB, it says nothing about result (*). Usually as my experience, after creating the game and then copyi...
by phhnguyen
Sat Aug 14, 2010 10:19 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Making chase-by-unprotect a 'third-rank violation' has the advantage that it becomes than easier to make the next step, "so let's forget about it completely", which makes chase detection in engines a lot simpler and less costly. (We could call it "Europe rules" :P ) Let discuss more, I think when w...
by phhnguyen
Fri Aug 13, 2010 1:06 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

1) Chasing by protection subversion is a lesser offense than chasing by direct attack. (Just like chasing is a lesser offense than checking.) So there are actually three levels of perpetuals: checking, chasing and unprotecting. Only when both sides do not violate the higher rule, one starts worryin...
by phhnguyen
Wed Aug 11, 2010 8:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perpetual chasing in Xiangqi
Replies: 78
Views: 8841

Re: A method to implement Asian rule

Sorry all, I may need to change my algorithm to solve the method of solving chase by setting protection to the victim. But before showing the modified algorithm, I would like to discuss some examples of Asia rule. Here is the 1st game: [Event "Asia Rules Appendix 3"] [Site "Pham"] [Date "2010.08.10"...