/**
 * Given a list of sprites, this function returns a new list containing only the incomplete sprites.
 *
 * An incomplete sprite is a sprite that meets the following criteria:
 * - Its name does not start with the letter 'A'.
 * - Its position values (x, y) are greater than or equal to 100.
 * - Its scale value is smaller than 0.5.
 *
 * @param spriteList The list of sprites to filter
 * @return The new list of incomplete sprites
 */
fun findIncompleteSprites(spriteList: List<Triple<String, Int, Double>>): List<Triple<String, Int, Double>> {

    val incompleteSprites = mutableListOf<Triple<String, Int, Double>>()

    for (sprite in spriteList) {
        if (!sprite.first.startsWith('A') && sprite.second >= 100 && sprite.third < 0.5) {
            incompleteSprites.add(sprite)
        }
    }

    return incompleteSprites
}
/**
 * Given a list of sprites, this function returns a new list containing only the incomplete sprites.
 *
 * An incomplete sprite is a sprite that meets the following criteria:
 * - Its name does not start with the letter 'A'.
 * - Its position values (x, y) are greater than or equal to 100.
 * - Its scale value is smaller than 0.5.
 *
 * @param spriteList The list of sprites to filter
 * @return The new list of incomplete sprites
 */
fun findIncompleteSprites(spriteList: List<Triple<String, Int, Double>>): List<Triple<String, Int, Double>> {
/**
 * Given a list of sprites, this function returns a new list containing only the incomplete sprites.
 *
 * An incomplete sprite is a sprite that meets the following criteria:
 * - Its name does not start with the letter 'A'.
 * - Its position values (x, y) are greater than or equal to 100.
 * - Its scale value is smaller than 0.5.
 *
 * @param spriteList The list of sprites to filter
 * @return The new list of incomplete sprites
 */
fun findIncompleteSprites(spriteList: List<Triple<String, Int, Double>>): List<Triple<String, Int, Double>> {

    val incompleteSprites = mutableListOf<Triple<String, Int, Double>>()

    for (sprite in spriteList) {
        if (!sprite.first.startsWith('A') && sprite.second >= 100 && sprite.third < 0.5) {
            incompleteSprites.add(sprite)
        }
    }

    return incompleteSprites
}