Skip to content

manimino/cyborg-wordle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyborg Wordle

Command-line Wordle game with optional assistance from your AI pal, Wordly.

Supports normal mode and hard mode.

Type '?' to get a hint from Wordly if you're stuck. Man and machine combine to conquer Wordle.

demo

Usage

To play: python main.py.

Hard mode: python main.py --hard

Watch Wordly play: python main.py --ai. AI mode uses a harder word list.

Design Details

Game

Just as in Wordle, you have six guesses to find a target five-letter word.

In hard mode, information from previous guesses must be used.

Solutions will always be in the top 4000 most common English words. However, any 5-letter word may be used as a guess.

AI Details

Wordly does not exhaustively search every possible guess and solution. Instead, Wordly considers a few hundred words and picks one that will narrow down the pool of possible answers. This produces good-enough guesses quickly. Wordly will win ~99% of all Wordle games.

histogram

Further reading

Wordly's heuristics are based on these sources.

https://www.poirrier.ca/notes/wordle

http://sonorouschocolate.com/notes/index.php?title=The_best_strategies_for_Wordle

About

command line Wordle with solver / hint engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages