Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
I am late joining the Wordle craze. Over a year ago, MATLAB programs for solving Wordle puzzles were described by Adam Filion as a guest blogger on Loren's blog and by Matt Tearle with a YouTube video. But my programs for Wordle Assistants are different. WordBot doesn't try to solve any puzzles and Words just supplies lists of possible words. I enjoy providing the solution logic myself.
Here are two examples, taken from recent Wordle puzzles in the New York Times. Contents Wednesday WordBot has a list of 4676 possible words, but knows nothing about their probabilities, so I don't ask for any assistance with the opening guess. I like to use mathematical words whenever possible. I usually start with RATIO, which has three vowels and two popular consonants. RATIO was a good opening move for the puzzle in the Times on Wednesday. It received a green R and a gold A. I informed WordBot of our good fortune using 2, 1 and 0 to indicate green, gold and gray. My faithful assistant responded by reproducing the first graphic in the Times. WordBot ratio 21000 ![]() The last of those 25 words got my attention. I decided to try RUMBA on my second move. I knew RUMBA was unlikely to succeed but would be spectacular if it did. Sure enough, Wordle didn't want to dance. WordBot rumba 20001 ![]() WordBot reach 22100 ![]() READSREADYREALSREAPSREARSREGALRELAXRELAYRENALREPAYRERANI need to relax. WordBot relax 22120 ![]() WordBot regal 22222 ![]() Thursday's puzzle in the Times offered different challenges. As always, I started with RATIO. This time I get only one gold letter. WordBot ratio 10000 ![]() WordBot perms 01100 ![]() WordBot wreck 21200 ![]() WordBot where 22222 ![]() Wednesday, Thursday, Friday and Saturday. If your browser isn't showing the animation, look here. ![]() Software This code is immature. Be gentle and let me know how it works for you. |
![]() |
![]() |