A bot that can play Wordle, written completely in Rust. But the bot is more flexibile than the original game - you can give it a word of any length (and also change the number of turns you allow, depending on how hard you want to make it).
See below for a demo of it in action!
Currently, the bot uses static text files as its dictionary & to know how frequent letters occur in the English language. Here are the sources of those files:
- word database comes from: https://github.com/dwyl/english-words/
- letter frequency comes from: https://www3.nd.edu/~busiforc/handouts/cryptography/letterfrequencies.html
I'll keep track of the stats for how well it performs on the daily official Wordle puzzle below.
date | word | solved | turns |
---|---|---|---|
2022-01-17 | shire | ✅ | 4 |
2022-01-18 | proxy | ✅ | 5 |
2022-01-19 | point | ✅ | 3 |
2022-01-20 | robot | ✅ | 3 |
2022-01-21 | prick | ✅ | 6 |
2022-01-22 | wince | ✅ | 6 |
2022-01-23 | crimp | ✅ | 3 |
2022-01-24 | knoll | ✅ | 4 |
2022-01-25 | sugar | ✅ | 4 |
2022-01-26 | whack | ✅ | 5 |
2022-01-27 | mount | ✅ | 3 |
2022-01-28 | perky | ✅ | 5 |
2022-01-29 | could | ✅ | 3 |
2022-01-30 | wrung | ✅ | 4 |
2022-01-31 | light | ✅ | 4 |
2022-02-01 | those | ✅ | 3 |
2022-02-02 | moist | ✅ | 4 |
2022-02-03 | shard | ✅ | 4 |
2022-02-04 | pleat | ✅ | 5 |
2022-02-05 | aloft | ✅ | 4 |
2022-02-06 | skill | ❌ | - |
2022-02-07 | elder | ✅ | 5 |
2022-02-08 | frame | ❌ | - |
2022-02-09 | humor | ✅ | 4 |
2022-02-10 | pause | ✅ | 4 |
2022-02-11 | ulcer | ✅ | 3 |
2022-02-12 | ultra | ✅ | 4 |
2022-02-13 | robin | ✅ | 3 |
2022-02-14 | cynic | ✅ | 5 |
2022-02-15 | aroma | ✅ | 6 |
2022-02-16 | caulk | ✅ | 4 |
2022-02-17 | shake | ❌ | - |
2022-02-18 | dodge | ✅ | 4 |
2022-02-19 | swill | ✅ | 6 |
2022-02-20 | tacit | ✅ | 6 |
2022-02-21 | other | ✅ | 3 |
2022-02-22 | thorn | ✅ | 3 |
2022-02-23 | trove | ❌ | - |
2022-02-24 | bloke | ✅ | 5 |
2022-02-25 | vivid | ✅ | 5 |
2022-02-26 | spill | ✅ | 6 |
2022-02-27 | chant | ✅ | 4 |
2022-02-28 | choke | ✅ | 3 |
2022-03-01 | rupee | ✅ | 5 |
2022-03-02 | nasty | ✅ | 3 |
2022-03-03 | mourn | ✅ | 3 |
2022-03-04 | ahead | ✅ | 6 |
2022-03-05 | brine | ✅ | 5 |
2022-03-06 | cloth | ✅ | 3 |
2022-03-07 | hoard | ✅ | 4 |
2022-03-08 | sweet | ✅ | 5 |
2022-03-09 | month | ✅ | 4 |
2022-03-10 | lapse | ✅ | 4 |
2022-03-11 | watch | ❌ | - |
2022-03-12 | today | ✅ | 5 |
2022-03-13 | focus | ✅ | 5 |
2022-03-14 | smelt | ✅ | 4 |
2022-03-15 | tease | ✅ | 5 |
2022-03-16 | cater | ✅ | 4 |
2022-03-17 | movie | ✅ | 5 |