Make sure to like the video and subscribe! Also, if you have any algorithm improvement suggestions, leave them here :)
@fghhbbbbb3 жыл бұрын
make a vid on how to use it
@TechTribeCommunity3 жыл бұрын
@@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.
@fghhbbbbb3 жыл бұрын
@@TechTribeCommunity thanks
@sammies30972 жыл бұрын
@@fghhbbbbb does the algorithm actually run when you press escape? it doesn't for me
@ALIHAID3R Жыл бұрын
any way to do this on a 3rd party application where it reads whats there and types it?
@BlazingIce2 жыл бұрын
Could you explain how it reads the screen and goes to the next round of words? If I was trying to use this for a different website would it be easy?
@TechTribeCommunity2 жыл бұрын
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: kzbin.info/www/bejne/h6XOqXWQrNKpj68
@jhnart06472 жыл бұрын
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
@TechTribeCommunity2 жыл бұрын
Hello! Make sure you have the words.py file in the same directory
@KeyserTheRedBeard2 жыл бұрын
wonderful video Tech Tribe. I killed the thumbs up on your video. Keep up the amazing work.
@TechTribeCommunity2 жыл бұрын
Thank you ☺️
@KeyserTheRedBeard2 жыл бұрын
@@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.
@thussprachscaramouchestra65932 жыл бұрын
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?
@TechTribeCommunity2 жыл бұрын
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!
@thussprachscaramouchestra65932 жыл бұрын
@@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.
@TechTribeCommunity2 жыл бұрын
@@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.
@splasxh10272 жыл бұрын
how do i download selenium, everytime i try to run the program i get an error saying i dont have selenium?
@TechTribeCommunity2 жыл бұрын
In your terminal, try running “pip install selenium”
@splasxh10272 жыл бұрын
@@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?
@TechTribeCommunity2 жыл бұрын
@@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!
@therealobvert72372 жыл бұрын
how do you install selenium on spyder
@TechTribeCommunity2 жыл бұрын
Hello! Please run “pip install selenium” either in the Spyder console or just in your anaconda terminal when you’re in the virtual environment.
@CLHoofie2 жыл бұрын
Could to explaine how to downlaoad and use this bot
@TechTribeCommunity2 жыл бұрын
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.
@Sakrosankt-Bierstube2 жыл бұрын
3Blue1Brown should join the competition.. his bot averaged around 3
@TechTribeCommunity2 жыл бұрын
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!
@BahramKheradmand2 жыл бұрын
@@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.
@TechTribeCommunity2 жыл бұрын
@@BahramKheradmand Impressive!
@rohithk043 жыл бұрын
Now do this with a RNN!
@TechTribeCommunity3 жыл бұрын
I haven't explored RNNs much, but will certainly look into them for a future video! Thank you for watching, as always!