From 728531bf7750e620134e7b1abcc9f72c81f1f3f7 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Fri, 26 Sep 2014 23:04:58 +0200 Subject: [PATCH] Add Charge of the Light Brigade as engine-defined variant A slight modification in the FEN printing was needed so that white could have empty squares on the back-rank of the setup. (Black stil cannot!) --- data/fmax.ini | 13 +++++++++++++ fairymax.c | 7 +------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/data/fmax.ini b/data/fmax.ini index 27c9901..3e21efd 100644 --- a/data/fmax.ini +++ b/data/fmax.ini @@ -870,4 +870,17 @@ m:640 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 1,7 16,7 -1,7 -16,7 2,7 -2,7 3 # H& NAF # M& NWD +// Charge of the Light Brigade +Game: light-brigade # PNBRQKpnbrqk # nocastle +8x8 +0 7 0 7 3 0 7 0 +4 4 4 4 3 4 4 4 +p:74 -16,24 -16,6 -15,5 -17,5 +p:74 16,24 16,6 15,5 17,5 +k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 +n:444 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 +b:400 15,3 17,3 -15,3 -17,3 +R:500 1,3 16,3 -1,3 -16,3 +Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3 + // End of game file diff --git a/fairymax.c b/fairymax.c index f476379..72dba19 100644 --- a/fairymax.c +++ b/fairymax.c @@ -342,11 +342,6 @@ int PrintResult(int s) } differs: ; } - - - - - K=I; cnt = D(s,-I,I,Q,O,LL|4*S,3); #ifdef SHATRANJ @@ -535,7 +530,7 @@ void LoadGame(char *name) for(i=2+!!makruk; i