Class Order

    • Method Detail

      • findEligibleCells

        public BitSet findEligibleCells​(BitSet onBoard)
        In the present board configuration, pieces from which cell(s) would be eligible to be picked right now under this order?
        Parameters:
        onBoard - indicates which of the N*N cells are occupied.
        Returns:
        a subset of onBoard consisting of the piece(s) "in the head" of this order. (E.g the topmost or rightmost pieces).