This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| /* so body text will match the chart */ | |
| ul li { font-family: sans-serif; } | |
| svg { | |
| display: block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # this expects to be run in a directory with a file named "words" with one valid word per line | |
| # for testing I used one found here: | |
| # https://github.com/tabatkins/wordle-list | |
| # On a 2022 MacBook Air this takes about 15 minutes to process | |
| def pick(rack, words): | |
| used_letters = set("".join(rack)) | |
| if len(used_letters) > 20: | |
| print(" ".join(rack)) | |
| return |
OlderNewer