Hopper
data class Hopper(HV: Boolean, D: Boolean, canJumpOverSamePiece: Boolean) : MoveGenerator2D
Content copied to clipboard
Can move along a ray direction, but must jump over another piece
Constructors
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
generate
Link copied to clipboard
open override fun generate(board: Board2D, coordinate: Coordinate2D, piece: Piece2D, player: Player): List<BasicMove2D>
Content copied to clipboard