Wordle Bot #shorts
Tech Tribe
Watch the Wordle Bot video: https://youtu.be/R_9qLkVim4s
Hey, have you heard of Wordle yet? Stop lying - I know you have! And while it is a super fun game to play for humans, I wanted to let computers in on the action. In this video, I explain and implement a Wordle algorithm in Python which is ALWAYS able to find the secret word in 6 tries or fewer (4 tries on average).
How did I do all this? Well, we consider every possible guessing word and every possible answer. Every guessing word yields us information (green for correct letter in correct location, yellow for correct letter in wrong location, and gray for incorrect letter). We choose a guess that helps us narrow down our answer list the most. Particularly, we choose the guess that guarantees the most narrowing down. I explain this algorithm in detail in the video.
The solution is 100% accurate and typically takes under 3 seconds to solve an entire puzzle. When I run it on the websites mentioned above, it is clear that it excels at its job! ... https://www.youtube.com/watch?v=ggMaCknB2eY
1962100 Bytes