Can a Chatbot play Wordle?
Challenging Chat GPT to solve a simple word game
June 2024
Chat GPT's first game of Wordle was actually pretty impressive.....
Not bad! One letter correct already. Let's see how we go from here ;-) |
![]() |
Mmm. 3 letters right already. Chat GPT is having a good day. Beginner's luck?! |
![]() |
Still 3 letters right. Maybe Chat GPT's luck has run out? |
![]() |
Wow. "Angst". That's the correct answer, and only Chat GPT's 4th guess. Ask anyone who plays Wordle and they'll tell you that's pretty good!
|
![]() |
Chat GPT's second game of Wordle was a bit more revealing.....
Intriguing. I thought Chat GPT might start with the same word but it's trying something new. Not quite so lucky this time though, this will be more interesting. |
![]() |
OK, not so good. Chat GPT clearly doesn't understand that 'right letter, wrong position' rule. Let's give it a little help.
Better... |
![]() |
'Coter'? Is that even a word? Never mind, we'll keep focused on the logic not the language. But I think Chat GPT needs a bit more help here with the rules....
Well, that R can't be there. But at least we now have 3 letters to pay with. |
![]() |
Now we're getting somewhere. But what's that T doing back in position 2? |
![]() |
Mmm. Stil struggling with some of the logic. |
![]() |
3 greens. Not bad, I suppose (even with a little encouragement). With a bit more logic, we should have got the answer though. |
![]() |
Ahh, isn't that sweet! But maybe now is not the time for me to tell Chat GPT that my next challenge might be a mathematical one ;-)
So what have we learned about Chat GPT with these two games of Wordle? In some ways, its better than I thought it would be. The conversational aspect is obviously strong and there is a grasp of some of the basic concepts of words consisting of (5) letters and swapping things around. But the LLM seemed to really struggle keeping hold of the basic rules across multiple steps. Those yellow right-letter-wrong-place characters were a real challenge and show that Chat GPT (even version 4.o) has a long way to go with even fairly rudimentary logical reasoning.
In January 2022, I was driving home and chatting with my daughter, Imogen, about the Wordle craze and agreed there must be an equivalent for us math fans. A few minutes later, we'd decided on the rules of the game and the name “nerdle”. As far as we can work out, there are over 100,000 valid words but my son, Alex, and I chose 17,723 of the best "words" - that's enough until 30 July 2070!
Since the first 8-digit nerdles, we've created a whole load of nerdle variants as well as some new number-based games that are just as fun.
We think it's just as fun playing with numbers as playing with letters. See if you agree!
Richard (chief nerd!)
Envisaged by Richard and Imogen Mann.
Built by Marcus.
Optimisations & support from Gavin.
Maths & solutions by Alex.
Inspired by Wordle and a love of math.