@@fghhbbbbb There is an explanation on the Github (github.com/techtribeyt/Wordle) how to use it. You have to clone the repository (docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) and in play_wordle.py call the run_program function. Once the website loads, you press the "escape" key to start the program.
@@TechTribeCommunity no problem at all. always happy to support my fellow content creators. i am looking forward to improving on my own current video format i have uploaded and, in the future, trying to create content as good as yours in the long term.
Yes! I saw his video- very well done. Unfortunately, the competition that I participated in has a much longer answer list than classic wordle, so getting under 4 is impossible (first place got slightly above 4 average). I bet 3B1B would’ve done really well tho!
@@TechTribeCommunity I have so far used no code, no dictionary, and no looking at the answer list, and stand at a 3.69 average, which with some luck and some patience could have been 3.6-ish. 100% win rate so far.
Hello! Yes, so the program does not actually look at the screen as a human would. Instead, I look at the page's HTML using a Python library called Selenium. For example, green letters on Wordle have a class "correct", yellow letters have a class "present" and "absent" for gray. The classes are a bit different in word master - you just have to look through the HTML to figure out what you are looking for. Then, I let my code get the next guess. Once I do, I use the keyboard library to type it in. Selenium is also used for pressing the next button if needed. You are welcome to look through my code (link in description). Here is a nice Selenium tutorial: selenium-python.readthedocs.io/. Also, I go into more detail about Selenium in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QtkxBZwmvYM.html
Hi there, when i run the program, i get an error message saying that "ModuleNotFoundError: No module named 'words'". I was wondering if you could help me fix this problem
I don't get the usage of the possible guess list. If we don't know the sucess of an answer before it is submitted, then why not just use the valid guess list and narrow that down?
Hello! I think that would also be valid. My program is based on the principle: "guess the word that would give you the most information in the worst case." Sometimes this "most-informative" word is in the valid answer list. Sometimes it is in the valid guess list, but not in the valid answer list. I have seen successful algorithms that only look through the valid answer list, and even some that look only through the narrowed down valid answer list before making the guess. That's definitely faster, but it might not give the program as much new information for narrowing down the list as guessing a word outside of the valid answer list. Hope that makes sense!
@@TechTribeCommunity Ah, that's clever. So you will use a word from that list to get you to the answer quicker if a real word won't. I still don't quite understand how you do it yet, but I'll get there. Thanks.
@@thussprachscaramouchestra6593 Exactly! I basically ask "Which word can give me the best guarantee of narrowing down the answer list?" If that word just happens to be in the answer list, then great! We get an additional chance of getting the correct word on the next turn. But if not, we know we are still making a guess that gives us a lot of new information.
@@TechTribeCommunity Thank you! I just got pip installed and selenium and all the other extensions. But, I'm using visual studio code and whenever I run the program, I'm not getting any errors but the website won't open. What can I do?
@@splasxh1027 glad the code runs! I’m not sure how this works in Visual Studio, but you can always try using Anaconda’s Spyder IDE, which is what I used in this video!
There is an explanation on the Github github.com/techtribeyt/Wordle how to use it. You have to clone the repository docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository and in play_wordle.py call the run_program function. Once the website loads, you press the "escape" key to start the program.