Wordle is a word game reminiscent of mastermind

Overview

python-wordle-solver

Welcome to my Wordle Solver! Quickly guess the wordle of the day between three to five attemtps!

About Wordle

Wordle is a word game reminiscent of mastermind. The player tries to guess a five letter word within six attempts. After each attempt, hints are given. Green tiles show that the letter is in the right position. Yellow tiles indicate that the letter is in the word but in the wrong spot. Grey tiles show that the letter is not in the world. Words a 5 lettered and only a maximum of six attempts are allowed. Wordle Interface

Installing Dependencies

Use the package manager pip to install required dependicies found in requirements.txt.

pip install -r requirements.txt

Launching Instructions

  1. Open a console
  2. Create a vitual enviroment
  3. Install the dependiences
  4. Run the following command python3 solver.py in the console
  5. Follow the instructions
  6. Enjoy!

Operating the Solver

  1. Open Wordle and Run solver.py side by side.
  2. A sequence of 15 words should appear in the console. These are the words that have the highest commonality value ranging from 0 to 1. The higher the value, the higher the chance it is to have a letter in the daily wordle.
  3. Choose a word from the list and enter it into the Wordle Puzzle.
  4. Enter the cooresponding output. G or 1 for green tiles, Y or 2 for yellow tiles, and ? or 3 for grey tiles. Hit Enter.
  5. Another sequence of words sorted by their commonality values will appear. Choose one and repeat steps 3 and 4 until the Wordle is correctly guessed.

Variables

There are options available to customize the solver

  • The word list can be changed by altering the words.txt file in the data folder. However, its name and path must be data/words.txt
  • The length of word can be changed depending on the the size of the board. The default is set to 5. This can be changed by altering the word_len variable in the wordle.py file. Note that the words in the words.txt only inlcude five letter words, which are standard to wordle
  • The number of attempts can also be altered by changing the max_attempt variable in wordle.py
  • The set of legal characters can also be altered by changing the legal_char variable in wordle.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Development References

You might also like...
Wordle - Wordle Clone With Python
Wordle - Wordle Clone With Python

Wordle Clone Python This is a cli clone of the famous wordle game developed by J

Wordle - Implementation of wordle and a solver

Wordle - Implementation of wordle and a solver

Wordle-player - An optimal player for Wordle. Based on a rough understanding of information theory

Wordle-player - An optimal player for Wordle. Based on a rough understanding of information theory

Wordle Tas Tool is a terminal application for solving Wordle puzzles

Wordle Tas Tool Terminal application for solving Wordle puzzles Wordle Tas Tool (WTT) is a Python script that iterates over SCOWL95 to solve Wordle pu

Wordle Solver: A simple script which is also called Wordle solver
Wordle Solver: A simple script which is also called Wordle solver

wordle-solver this code is a simple script which is also called Wordle solver. t

Wordle-prophecy - The comprehensive list of all Wordle answers, past and future

About This repo contains the comprehensive list of all Wordle answers, past and

Blender Game Engine Game Type Templates Logic Bricks (and Python script) based Game Templates for Blender

Blender-Game-Engine-Templates Blender Game Engine Game Type Templates Logic Bric

An optimal solution finder for the game Wordle, written in Python

wordle-solver: a nearly-optimal computer player for Wordle Wordle is an interesting word guessing game. This program plays it very well, taking only 3

This is a Python solver for the game Wordle, which recently received its PT-BR version

PT_BR_Wordle_Solver Este é um solver feito em Python do jogo Wordle, que recebeu sua versão PT-BR recentemente. Onde jogar Os sites para se jogar mais

Owner
Sidharth Anand
Sidharth Anand
Wordle is a web-based word game. Players have six attempts to guess a five-letter word;

Wordle is a web-based word game. Players have six attempts to guess a five-letter word; feedback is given for each guess, in the form of colored tiles, indicating when letters match or occupy the correct position. This program helps solving wordle problems.

Abhishek 2 May 21, 2022
This is a simple telegram bot for the game Pyal, a word guessing game inspired by Wordle

Pyal Telegram Bot This is a simple telegram bot for the game Pyal, a word guessing game inspired by Wordle. How does it work? Differently from the ori

Rafael Omiya 4 Oct 6, 2022
A little python script for finding the best word choice in a Wordle game

A little python script for finding the best word choice in a Wordle game, by assuming that at each step you want to minimise the average number of possible answers left after guessing that word (note this is a greedy assumption and not fully correct, but as a TikTok user pointed out, this is the best you can do before it gets NP-hard).

zeb 26 Mar 16, 2022
For educational purposes, a simple script that assists in solving the word game Wordle.

WordleSolver For educational purposes, a simple script that assists in solving the word game Wordle. Instructions Pick your first word from the sugges

Christian De Leon 2 Mar 25, 2022
Wordle-helper: python script to help solving wordle game

wordle-helper This is a python script to help solving wordle game 5-letter-word-

MD Nur Ahmed 2 Feb 8, 2022
This is a python implementation of wordle, which uses the same set of available words as the hit game, Wordle

Wordle Game This is a python implementation of wordle, which uses the same set of available words as the hit game, Wordle. Play the game manually pyth

Pierre Theo Klein 11 Mar 4, 2022
Wordle-Python - A simple low-key clone of the popular game WORDLE made with python and a 2D Graphics module Pygame

Wordle-Python A simple low-key clone of the popular game WORDLE made with python

Showmick Kar 7 Feb 10, 2022
Searches the word list in Wordle based on search pattern.

Wordle Searcher Searches the word list in Wordle based on search pattern. Warning: like all forms of cheating, it trivializes the game, and robs you o

Tyler Martin 1 Jan 29, 2022
A very bad wordle solver to help me solve the daily wordle

Wordle Solver A very bad wordle solver to help me solve the daily wordle on https://www.powerlanguage.co.uk/wordle/ TODO list take into account letter

Logan Anderson 4 Feb 3, 2022
Wordle player - A Class that plays wordle optimally

wordle_player A Class that plays wordle optimally if you want to play wordle opt

Andrés Hernández 1 Jan 31, 2022