def colourless_creatures(cube_size, colours, cube_list):
    creature_limit = creature_curve(cube_size, [])
    creatures_sorted = sort_cmc(colours[5])
    cmc_count = 0
    card_list = []
    for cmc in creatures_sorted:
        for card in cmc:
            if card['name'] not in cube_list and c_creature_count[
                    cmc_count] < creature_limit[cmc_count]:
                card_list.append(card)
                w_creature_count[cmc_count] += 1
        cmc_count += 1
    return card_list
def white_creatures(cube_size, colours, cube_list):
    creature_limit = creature_curve(cube_size, ["W"])
    creature_count = sum(creature_limit)
    creatures_sorted = sort_cmc(colours[0])
    cmc_count = 0
    card_list = []

    while len(card_list) < creature_count:
        for cmc in creatures_sorted:
            for card in cmc:
                if card['name'] not in cube_list and card[
                        'name'] not in card_list:
                    card_list.append(card)
                    w_creature_count[cmc_count] += 1
            cmc_count += 1
    return card_list