myfish wrote:Just to butt in here and hi there by the way…
Hello!
I was introduced to sjaak II by HGM who has been very gracious in support with a variety of my shogi and shogi variant needs and wants.
Right now, I have 2 versions of goro goro working in xboard / sjaak II with and without a lance/knight handicap.
Both play, sort of.
However, we do get issues with illegal moves that are in fact, perfectly legal and I see this is already being addressed. Thanks.
That somewhat depends on what illegal moves you're seeing. Could you be more specific?
There is one specific circumstance where I see illegal moves from SjaakII in Shogi, and that is if it does not have enough time to search all moves (which basically means it's probably screwed anyway). This isn't a Shogi-specific problem, but it's the only variant I've tested extensively where I've seen this problem (presumably Crazyhouse would have the same problem). It only happens at short time controls.
However, the issues surrounding draws and losses in repeated move sequences is a tougher one.
In shogi and it's many variants, the general rule is one of 4 times repeat = draw whilst 4 times repeated sequence in constant checking environment is a loss for the 'checker'. The former however CAN contain checks, just not perpetual checks to the limit.
Ok, so it
is a chase with the condition that the chased piece is a king. I can implement that properly, but it'll have to wait a while. Avoiding perpetuals should work in the development build though, which should be good enough to play.
The idea of adding draw/check configurations per variant is a good one and I await a release where this is working.
Should be soonish, but I'll probably have to end up calling it "1.0 release candidate 4" rather than "1.0" as I had originally planned, since by now it contains quite a few changes compared to the last one.