generate Pseudo Legal Moves
open override fun generatePseudoLegalMoves(piece: Piece, fromSquare: Square, board: Board, gameState: GameState): List<Move>
Generates all pseudo-legal rook moves from the given square.
Return
List of possible moves for the rook.
Parameters
piece
The rook piece.
from Square
The square the rook is moving from.
board
The current board state.
game State
The current game state.