bellerb / wordle_solver

Wordle solver using letter position probability in python 3
MIT License
13 stars 18 forks source link
game-engine game-solver python python3 wordle-solver

Wordle Solver

Visits Badge Languages Top Languages

Description

The following is a program for playing Wordle in the console written in python3. When playing, the game will give you 3 options:

Test Solver

The test solver option can be selected by typing in a "T". This will run the solver for how ever many games you have set up in the main.py file. To change this change the following variable.

GAMES = 10 

Game Assist

The game assist option is a way to have it help you choose your words when playing on the actual game. To play type in the suggested words. The agent will then ask you for what the game returned as hints. The agent will be looking for a responce like "bbygb". For this the options are:

Play Game

The play game option is a way to play wordle games in your console.

Launch Instructions

step 1: open your console
step 2: create a virtual enviroment
step 3: type the following command "pip install -r requirements.txt"
step 4: type the following command "cd [app directory]"
step 5: type the following command "python3 main.py"
step 6: type in the action you wish to perform.

Write Up

To get a better understanding of why the code is written this way check out my detailed write up:

Reference