{"id":16058792,"url":"https://github.com/andyatkinson/wordle_solver","last_synced_at":"2025-03-01T17:42:53.810Z","repository":{"id":66952287,"uuid":"446205515","full_name":"andyatkinson/wordle_solver","owner":"andyatkinson","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-11T18:03:47.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T08:45:57.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyatkinson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-09T21:20:52.000Z","updated_at":"2022-01-14T19:32:41.000Z","dependencies_parsed_at":"2023-06-19T17:51:06.372Z","dependency_job_id":null,"html_url":"https://github.com/andyatkinson/wordle_solver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fwordle_solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fwordle_solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fwordle_solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fwordle_solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyatkinson","download_url":"https://codeload.github.com/andyatkinson/wordle_solver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404210,"owners_count":19957650,"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","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":[],"created_at":"2024-10-09T03:40:39.145Z","updated_at":"2025-03-01T17:42:53.786Z","avatar_url":"https://github.com/andyatkinson.png","language":"Ruby","readme":"# Wordle Solver\n\n[Wordle](https://www.powerlanguage.co.uk/wordle/) is a fun simple online game.\n\nThis is a naive attempt at a solver that selects a good first word. The first guess in Wordle is for a 5 letter word, but no clues are provided for letters or positions of letters.\n\n## Solver algorithm\n\nAs a base dictionary of words, this uses the built in dictionary in Mac OS. The dictionary has `235886` words and `10230` are 5 letters long.\n\nFrom those 5 letter words, this program attempts to score the words on how well they may serve the purpose of being a good first guess.\n\nThe number of Wheel of Fortune (`R S T L N E`) consonants count, vowels count, distinct letters count, all aspects that contribute to the scores. From the highest scoring words, a random one is selected.\n\n## Running it\n\n`ruby wordle_solver.rb`\n\nThis will print a suggested first word to guess.\n\ne.g.\n\n```\n\u003e ruby wordle_solver.rb\nirate\n```\n\n## TODO\n\n[ ] Keep track of existing suggestions, remove them (e.g. write them to a file)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fwordle_solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyatkinson%2Fwordle_solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fwordle_solver/lists"}