Skip to content

Alex-Gberg/spelling-bee-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spelling Bee Solver

This program solves the New York Times Spelling Bee game Official Link/Free Link

Table of Contents

General Information

  • This program creates a regular expression and uses words_alpha.txt (from here) to find the possible words

Technologies used

  • Python 3.8.10

Features

  • Input the letters manually
  • Receive a list of possible words
  • Have the program automatically input the possibilities into the game
  • Compare with a list of answers (if known) to see what words the program missed

Setup

  • Clone the Git repository
  • Open the directory in the terminal
  • Install the requirements with pip install -r requirements.txt
  • Use sudo python3 wordleHelper.py to run the program (sudo is required for the auto-type functionality)

Usage

  • Follow the prompts and fill in the information requested in the terminal
  • You will first be asked to input the letters, starting with the required letter
  • You will then be asked if you want to be shown the list of possible words or if you want to auto-type the words
  • If you select auto-type, go back to the game in your browser and click on the text input field of the game, then press "esc" to start the input
  • Beware! If you click out of the game before the auto-typing is complete, it will continue to type wherever you click!
  • You may have to run the program a couple of times to make sure the game registers all of the inputs
  • Before closing the program you are able to compare the algorithm's answers with a text file containing the real answers, this will only work if you have filled the answers.txt file

Project Status

This project is complete

Room for Improvement

  • Retrieve the game letters automatically
  • Make a GUI
  • Better control over the auto-typing

Acknowledgements

  • The list of English words words_alpha.txt comes from here

About

A tool to solve the New York Times Spelling Bee game

Resources

License

Stars

Watchers

Forks

Languages