def get_words_list() -> list[str]:
    """Returns a list of words from the file wordle-answers-alphabetical.txt."""

    with open("wordle-answers-alphabetical.txt", "r", encoding="utf-8") as file:

        words = file.read().splitlines()

    return words