Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Use regular expressions to cheat at Wordle

License

Notifications You must be signed in to change notification settings

mlbright/basic-wordle-cheater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-wordle-cheater

A really corny way to cheat at Wordle.

Usage

# Guesses at this point are:
# SNAKE -> A and E are yellow
# ABOVE -> A and E are yellow (repeated myself uselessly)
# BAGEL -> A and E are yellow (here we know A is the fourth letter, but we make the computer do more work)
wordle-assistant --green '....l' --yellow "[^a][^a][^a][^e][^e]" --grey 'bgovsnk'
ceral
decal
demal
ectal
equal
ethal
fecal
feral
fetal
hemal
ideal
medal
metal
pedal
petal
pheal
queal
tepal
ureal
wheal

# Chose 'IDEAL' and discover that AL are green, DE are yellow, and I is grey

./target/release/wordle-assistant --green '...al' --yellow '[^a][^da][^ae][^e][^e]' --grey 'ibgovsnk'
decal
demal
medal
pedal

# Chose 'MEDAL': solved!

Build

cargo build --release
cp target/release/wordle-assistant ~/.bin # ... or somewhere in your PATH

About

Use regular expressions to cheat at Wordle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages