get Possible Moves
open override fun getPossibleMoves(game: AbstractChess2D, player: Player, moves: MutableList<Move2D>)
Content copied to clipboard
Modifies the given moves by either adding moves which satisfy a special condition, or modifying the moves to make sure they all satisfy the condition.
Return
the possible moves generated as a result of the special rule