getPossibleMoves

open override fun getPossibleMoves(game: C, player: Player, moves: MutableList<Move2D>)

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