WordleSharp provides advanced Wordle solving capabilities through PowerShell cmdlets, featuring multiple calculation algorithms and comprehensive analysis tools.
Import the module in PowerShell:
Import-Module .\WordleSharp.psd1Get help for any cmdlet:
Get-Help Start-WordleAnalysis -Full
Get-Help Start-Autoplay -ExamplesWordleSharp uses a specific format to represent Wordle feedback:
- Enter words followed by numbers to indicate letter status:
0= Gray (letter not in word - but you can omit this, see below)1= Yellow (correct letter, wrong position)2= Green (correct letter, correct position)
# If you guessed "arose" and got: A(gray), R(yellow), O(gray), S(green), E(gray)
arose
a0r1o0s2e0
# The system automatically adds '0' to letters without specifiers, so this is equivalent:
ar1os2e
# Check if a word is in the remaining possible solutions
word?
# Returns: True/False# Score a guess against a known answer (for analysis)
guess,answer
# Example: arose,about# Mark a word as the correct final answer
word!
# Example: about!Interactive analysis mode for solving Wordle puzzles step-by-step.
Start-WordleAnalysis -CountOnly
# Starts the analysis engine with the default solving calculator, but doesn't tell you what word to play next, only how many words are left.
# This is the best mode for analysing your play as you play it.Automated solving of Wordle puzzles.
Start-Autoplay -StartWord "arose" -Answer "about" -Calculator CountReductionFind optimal starting words for given answers.
Get-BestStartWord -Answer "about""Scores" a given word given an answer using the x[0|1|2] format
Get-WordScore -Word "arose" -Answer "about"Find words containing specific letters.
Get-WordsContainingLetter -Letter "aeiou"Choose between different solving algorithms for calculating the next best word:
- CountReduction : Minimizes remaining word count (default - slower)
- LetterFrequency : Prioritizes common letters (faster - but less optimal)
Specify with the -Calculator parameter:
Start-WordleAnalysis -Calculator CountReduction
Start-Autoplay -Calculator LetterFrequency -StartWord "arose" -Answer "about"Control parallel processing for faster calculations:
Start-WordleAnalysis -MaxDegreeOfParallelism 4
# This will default to the number of cores available on the running machine if not specified.
# Note that this parameter only affects the "CountReduction" calculator.For detailed help on any cmdlet, use Get-Help <CmdletName> -Full