@Fergus,
Now I am trying to make the castling work.
The king is supposed to be able to castle with a rook by moving 3 spaces towards it or with a cannon by moving 4 spaces towards it, Usual conditions apply.
I have used the following flags and variables:
I have 2 problems.
1.The castling moves are not shown although they work.
2. The long cannon castle is not done entirely although the king moves correctly.
@Fergus, Now I am trying to make the castling work.
The king is supposed to be able to castle with a rook by moving 3 spaces towards it or with a cannon by moving 4 spaces towards it, Usual conditions apply. I have used the following flags and variables:
set wcastle d1 c1 j1 k1; set bcastle d12 c12 j12 k12; setflag a1 b1 k1 l1; setflag a12 b12 k12 l12;
I have 2 problems. 1.The castling moves are not shown although they work. 2. The long cannon castle is not done entirely although the king moves correctly.