🕸Fergus Duniho wrote on Wed, Jun 21, 2017 07:56 AM EDT:
Look at how castling is handled for Fisher Random Chess. There castling moves that would map onto normal King mvoes or even non-moves are handled as Rook moves. The trick is to make each possible move a different move on the board, then handle each of those moves differently in your code.
Look at how castling is handled for Fisher Random Chess. There castling moves that would map onto normal King mvoes or even non-moves are handled as Rook moves. The trick is to make each possible move a different move on the board, then handle each of those moves differently in your code.