{"id":15581461,"url":"https://github.com/moralcode/wordlebuster","last_synced_at":"2025-10-30T05:07:10.562Z","repository":{"id":113204392,"uuid":"455939156","full_name":"MoralCode/WordleBuster","owner":"MoralCode","description":"a python script to algorithmically solve wordle and wordle-like games","archived":false,"fork":false,"pushed_at":"2022-02-06T15:09:30.000Z","size":107,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T03:36:23.600Z","etag":null,"topics":["mastermind","solver","wordle"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoralCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-05T17:35:59.000Z","updated_at":"2022-02-06T14:53:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"be6a975a-b615-4658-abd1-f9466ee17f7a","html_url":"https://github.com/MoralCode/WordleBuster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoralCode/WordleBuster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FWordleBuster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FWordleBuster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FWordleBuster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FWordleBuster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoralCode","download_url":"https://codeload.github.com/MoralCode/WordleBuster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoralCode%2FWordleBuster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281748716,"owners_count":26554822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mastermind","solver","wordle"],"created_at":"2024-10-02T19:48:24.709Z","updated_at":"2025-10-30T05:07:10.529Z","avatar_url":"https://github.com/MoralCode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordle guesser\n\nThis is a python script I threw together to algorithmically solve games of [wordle](https://www.powerlanguage.co.uk/wordle/). \n\nSome may call this cheating. To that I say it certainly attempts to be more effective than human memory of words, but also you can just look up the answer on google, which is even *less* educational. \n\n\nCoincidentally, the literal day after I wrote this, 3blue1brown posted a [video](https://www.youtube.com/watch?v=v68zYyaEmEA) that goes into way more math and essentially does the same thing as this script, but obviously way better since I hacked this together in a few hours.\n\n## How to use\n\n1. Check which wordlist is being used in the script (its around lke 42). See the [wordlists](#wordlists) section below for the possible options. \n2. run `python3 wordlebuster.py`\n3. enter the word it tells you to as your wordle guess and then type in the result into the script by entering a 5 character string of C X or M to represent Correct, eXcluded, or Misplaced letters.\n4. the script will give you another word to try.\n5. repeat. typing in CCCCC (or stopping it early with Ctrl-C) will cause the script to exit.\n\n\nI havent tested this as thoroughly or with as many fancy simulations as 3blue1brown did, but it seems to do pretty well (3-4 rows) most of the time.\n\n\n## Wordlists\n\nThis script comes with a couple different wordlists:\n\n- `wordle_solutions` is the short (~2k words) list of all the words that could possibly be wordle answers. some consider this cheating.\n- `wordle_all` is the `wordle_solutions` list combined with the other list of valid words (~13k words) from the wordle source code\n- `wordmaster` is the wordlist from the source code of the open source [word-master](https://github.com/octokatherine/word-master) app that was also used for testing because of the lack of a 1-puzzle daily limit\n- `all_words` is a (deduplicated) combination of all of the above lists if you want the most generic possible experience\n\nthere are definitely more wordlists/datasets that can be added. If you add any, please feel free to make a contribution.\n## Wordle game variations and other links\nWhile developing this, I found a number of  wordle clones that may be useful:\n- https://github.com/lynn/hello-wordl\n- https://github.com/octokatherine/word-master\n- https://nerdlegame.com/\n- https://qntm.org/absurdle\n\nThere is also an [android pattern lock](https://github.com/maxwellito/breaklock) version of the game and an [awesomelist](https://github.com/puzzlet/awesome-wordle) for wordle already.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fwordlebuster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoralcode%2Fwordlebuster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoralcode%2Fwordlebuster/lists"}