Sjaak II 1.4.1 and Shogi
Moderator: Ras
-
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II 1.4.1 and Shogi
Ok, I think I fixed this now: SjaakII correctly claims the win for Black, avoids the repetition for White and goes for it as Black. I have yet to check the case where White repeats though (in which case it should be forfeited).
-
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II 1.4.1 and Shogi
This is now fixed: if no install/data dir is specified, it will be set to ".".Evert wrote: Ah, right. It doesn't actually load variants.txt from the current directory, it loads it from the install location. Which works out to /usr/local/share/games/sjaakii on *nix, and probably something like C:/Program Files/share/games/sjaakii, if at all. I suppose that's not very useful.
It's controlled by the SJAAKII_DATA_DIR configuration option in CMake, which sets the variable DATADIR (it passes -DDATADIR=${SJAAKII_DATA_DIR}). The MSVS build files don't set DATADIR, so it never autoloads variants.txt. I guess a sensible default value is "."?
Were there any other things (other than the lousy king safety) that need to be fixed for a new release?