Skip to content
Snippets Groups Projects
Mark Carroll's avatar
Mark Carroll authored
f6d678df
History
Name Last commit Last update
README.md

StrandsSolver

This application solves the New York Times Strands. To complete the current days puzzle online use the -o flag. To solve a previous puzzle create a new txt file with the same format as those in the games directory and pass the file path using the -f flag.

Dependencies

To install required libraries run:

pip3 install -r requirements.txt

Solver command examples

To solve current daily puzzle (If an answer is not contained within word_bank.json the solver will be unable to solve the puzzle):

python3 solve.py -o

To solve past puzzle (does not need to be specifically from NYT):

# If no file path is passed it will default to "games/strands_03_04_2024.txt"
python3 solve.py -f games/strands_03_04_2024.txt