Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1009 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 1009 Bytes

Wordle Solver (JavaScript)

A tool to help you win the wordle game. This tool provides a best guess word and a set of candidate words for each step. Can be used in both hard mode and non-hard modes. You can always choose which word you want to enter.

Setup

npm i

Run

node index.js

How to use

  1. Choose hard mode or not
  2. Start with a random word
  3. Add the word in the prompt with option

Set '+' for exact match (green), '-' for not existing (grey) and '.' for missplaced (orange) letters in the exact position of option

For example: if tempo is typed and t is shown as orange and e shown as green and all others are grey, then the option should be .+---

  1. Get the best guess word and enter it in the game
  2. repeat 4 & 5 till you get the correct word

Examples

Hard mode

Solver

Wordle

Non-hard mode

Solver

Wordle