Word Owl is a discord bot with an aggressive personality that solves the Wordle puzzle of the day using constraint satisfaction and word-elimination heuristics.
As a lot of people, I caught the Wordle bug in Jan, 2022 and decided to reverse-engineer the site's client-side code. In the source code, I found a list of potential answers and a list of words. From that list, getting the answer would be easy... but that would be boring. You see, I enjoyed playing Wordle with my friends and competing over who could solve it within the least tries, so knowing the answer and 1/6ing it every time sucked the fun out of it. Instead, I used that list of answers and made a bot that could compete along with us.
The bot follows letter and position based heuristics and tries to eliminate as many words as possible to get the word of the day. Since I can programmatically get the word of the day for any given day, this bot is independent of Wordle and performs self-validation of guesses and posts its results to discord much like a regular user would.
I built Word Owl in Python because it was the easiest language to integrate with Discord and perform tree-traversal algorithms. Typically the bot will guess each word in 4-5 guesses, but there are a few words that it cannot guess (hint: one of them is POUD) so look out for those!