Added SONIC and LASER to the allowed words

This commit is contained in:
David Volovskiy 2024-08-18 10:46:33 -04:00
parent 935ede9fda
commit 57ca74b253
2 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@
static const char _valid_letters[] = {'A', 'C', 'E', 'I', 'L', 'N', 'O', 'P', 'R', 'S'};
// From: https://gist.github.com/shmookey/b28e342e1b1756c4700f42f17102c2ff
// Number of words found: 282
// Number of words found: 284
static const char _legal_words[][WORDLE_LENGTH + 1] = {
"ROPES", "RESIN", "PACES", "RIPEN", "ALIEN", "SPINE", "ROSIN", "PIERS", "CAPER",
"SNORE", "SANER", "RAILS", "SCORN", "PENIS", "NEARS", "ENROL", "PROSE", "CANES",
@ -52,7 +52,7 @@ static const char _legal_words[][WORDLE_LENGTH + 1] = {
"AROSE", "SCOPE", "AISLE", "CLANS", "CORAL", "SCRIP", "PAINS", "OPERA", "PAIRS",
"PEARL", "SIREN", "ACRES", "CAROL", "LAIRS", "PORES", "PRIES", "CRONE", "CANOE",
"LAPSE", "LEAPS", "SNIPE", "REINS", "PEALS", "SPEAR", "LOSER", "POLAR", "LANCE",
"CAIRN", "PLACE", "SILLS", "CELLS", "EERIE", "PIECE", "ISLES", "NOOSE", "SNEER",
"CAIRN", "PLACE", "LASER", "SONIC", "EERIE", "PIECE", "ISLES", "NOOSE", "SNEER",
"SOLOS", "ELOPE", "INNER", "SLOOP", "SOARS", "SPREE", "SPANS", "PAPAL", "RIPER",
"COLON", "SCANS", "RARES", "PILLS", "CANON", "POLLS", "POPPA", "ERROR", "REARS",
"PESOS", "CRESS", "PENCE", "SPOOL", "COLOR", "NONCE", "CLASS", "SELLS", "NASAL",
@ -66,7 +66,7 @@ static const char _legal_words[][WORDLE_LENGTH + 1] = {
"PRESS", "RISER", "AREAS", "SPOON", "SALES", "CREEP", "CEASE", "LOOPS", "ASSES",
"CALLS", "CRIER", "COCOA", "SEERS", "LOONS", "SLIPS", "PAPER", "REELS", "RISES",
"POSSE", "RARER", "SOILS", "PIPER", "INANE", "LOCAL", "PEASE", "ONION", "SLEEP",
"LEASE", "RACER", "LEPER",
"LEASE", "RACER", "LEPER", "SILLS", "CELLS",
#if (USE_EXPANDED_DICT != 1)
};
// These are words that'll never be used, but still need to be in the dictionary for guesses.
@ -474,7 +474,7 @@ static void get_result(wordle_state_t *state) {
}
#if (USE_RANDOM_GUESS != 0)
static const uint16_t _num_unique_words = 155; // The _legal_words array begins with this many words where each letter is different.
static const uint16_t _num_unique_words = 157; // The _legal_words array begins with this many words where each letter is different.
static void insert_random_guess(wordle_state_t *state) {
uint16_t random_guess;
do { // Don't allow the guess to be the same as the answer

View file

@ -260,7 +260,7 @@ legal_list = [
"WORDS", "WORDY", "WORKS", "WORLD", "WORMS", "WORRY", "WORSE", "WORST", "WORTH", "WOULD", "WOUND", "WRACK",
"WRAPS", "WRAPT", "WRATH", "WREAK", "WRECK", "WREST", "WRING", "WRIST", "WRITE", "WRITS", "WRONG", "WROTE",
"WROTH", "YACHT", "YARDS", "YARNS", "YAWNS", "YEARN", "YEARS", "YEAST", "YELLS", "YELPS", "YIELD", "YOKED",
"YOKES", "YOLKS", "YOUNG", "YOURS", "YOUTH", "ZEBRA", "ZONES", "COLOR",
"YOKES", "YOLKS", "YOUNG", "YOURS", "YOUTH", "ZEBRA", "ZONES", "COLOR", "LASER", "SONIC",
]
expanded_list = [
@ -938,7 +938,7 @@ expanded_list = [
"NOTAR", "OBEIR", "VIMES", "GENUA", "KANAL", "LIMON", "RAHAB", "SUOMI", "VEJEN", "BATEN", "FJORD", "LEVES",
"PHARE", "RECTO", "AAGOT", "GIZUR", "NADJA", "RUGGE", "SNEYD", "DECKT", "FAILE", "GAOLS", "MELER", "PACTO",
"PAHAN", "CALIF", "MENON", "SEPOY", "WADDY", "ZELLE", "AENDA", "ASTUA", "KROON", "LETRA", "MINIT", "NEEWA",
"PATNA", "URIEL", "HITTE", "HOMOJ", "JOUET", "KOSKI", "LYSTE", "MINAS", "RUHTE", "SETZE",
"PATNA", "URIEL", "HITTE", "HOMOJ", "JOUET", "KOSKI", "LYSTE", "MINAS", "RUHTE", "SETZE", "LASER", "SONIC",
]
alphabet = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']