I have 3 things I'm needy about and can't do. These are not questions as if it would only be about some sideway task I could ask you and do it myself, but things to take a look if you have the time.
1. fast castle subroutine. Fast castle means castling in any place between rook and the king with the rook moving to the king's place. A pseudocode would be:
if the king and rook have not been moved
then if the destination field is empty
then if the king is not in check then move the king to destination, move the rook to source.
2. lyon movement code for chu shogi. Chu shogi is not that different of orthodox chess and it's implementation should be rather mundane. The only problem is the lyon. This seems to me over my current ability.
3.movement code for the joker (also, jester, fool, imitator). This piece imitates the last move of the opponent. For years I'm thinking about it, but just observing the it has to do something with the moved variable was not much from me. I need that for apothecary chess which is a mouth full anyway, so I'd really apreciate your help.
Fergus,
I have 3 things I'm needy about and can't do. These are not questions as if it would only be about some sideway task I could ask you and do it myself, but things to take a look if you have the time.
1. fast castle subroutine. Fast castle means castling in any place between rook and the king with the rook moving to the king's place. A pseudocode would be:
if the king and rook have not been moved
then if the destination field is empty
then if the king is not in check then move the king to destination, move the rook to source.
2. lyon movement code for chu shogi. Chu shogi is not that different of orthodox chess and it's implementation should be rather mundane. The only problem is the lyon. This seems to me over my current ability.
3.movement code for the joker (also, jester, fool, imitator). This piece imitates the last move of the opponent. For years I'm thinking about it, but just observing the it has to do something with the moved variable was not much from me. I need that for apothecary chess which is a mouth full anyway, so I'd really apreciate your help.