(self)
return ["abcdefghijkl"[u] for u in moves]
A player must play any hole that contains enough seeds to
        'feed' the opponent. This no hole has this many seeds, any
        non-empty hole can be played.
A player must play any hole that contains enough seeds to
        'feed' the opponent. This no hole has this many seeds, any
        non-empty hole can be played.
A player must play any hole that contains enough seeds to feed the opponent . This no hole has this many seeds any non - empty hole can be played .
def possible_moves(self):
        """
        A player must play any hole that contains enough seeds to
        'feed' the opponent. This no hole has this many seeds, any
        non-empty hole can be played.
        """

        if self.current_player == 1:
            if max(self.board[:6]) == 0:
                return ["None"]
            moves = [i for i in range(6) if (self.board[i] >= 6 - i)]
            if moves == []:
                moves = [i for i in range(6) if self.board[i] != 0]
        else:
            if max(self.board[6:]) == 0:
                return ["None"]
            moves = [i for i in range(6, 12) if (self.board[i] >= 12 - i)]
            if moves == []:
                moves = [i for i in range(6, 12) if self.board[i] != 0]

        return ["abcdefghijkl"[u] for u in moves]
def possible_moves ( self ) : if self . current_player == 1 : if max ( self . board [ : 6 ] ) == 0 : return [ "None" ] moves = [ i for i in range ( 6 ) if ( self . board [ i ] >= 6 - i ) ] if moves == [ ] : moves = [ i for i in range ( 6 ) if self . board [ i ] != 0 ] else : if max ( self . board [ 6 : ] ) == 0 : return [ "None" ] moves = [ i for i in range ( 6 , 12 ) if ( self . board [ i ] >= 12 - i ) ] if moves == [ ] : moves = [ i for i in range ( 6 , 12 ) if self . board [ i ] != 0 ] return [ "abcdefghijkl" [ u ] for u in moves ]