Skip to content

spagh-eddie/buzzoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuzzOff

This project creates a list of possible words that can be created from a set of letters. It is definitely not designed to assist with The New York Times' Spelling Bee or Letter Boxed puzzles. Pinky promise.

Spelling Bee

To see what words can be made with the set of letters yaehlpt that contain y, run it!

% buzz off -m y yaehlpt
allay
alley
ally
...

Letter Boxed

To see what words can be made from the following Letter Boxed problem, try the following to get an answer of brawls and sousaphone:

 HES
O   A
P   B
W   L
 URN
% buzz letterboxed hesopwablurn
brawls sousaphone

Solutions are found by exploring the graph made by letters, and comparing reachable words against a trie of English words. Here are the outgoing edges of one node:

Outgoing edges of one node to all other nodes except the neighbors on its same side

The solution: BRAWLS-SOUSAPHONE

Solution to Letter Boxed problem

Installation

To install this project:

% cd buzzoff
% python -m pip install .

About

Definitely not designed to assist with NYT puzzles. Pinky promise.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages