Skip to content

MicJagger/letter-boxed-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

letter-boxed-solver

This is a Typescript / React website built to solve The New York Times game Letter Boxed.

It utilizes Rust in WebAssembly to run the algorithm locally on the client's machine.

It would have higher word counts than 4, but it is unsafe. If many words and combinations are possible, then this single tab can potentially use gigabytes of memory.

Still, with light optimizations and using compiled Rust, this can spit out thousands of solutions in milliseconds.

Installation

Ensure you have Rust installed, as well as wasm-pack (cargo install wasm-pack).

Clone the repository

  1. git clone LINK
  2. cd letter-boxed-solver

Prepare the word list (optional, prepared list included)

  1. cd prepwordlist
  2. cargo run
  3. cd ..

Build the web assembly

  1. cd client/src/wasm/letter-boxed-solver
  2. wasm-pack build --target web
  3. cd ../../..

Launch the site

  1. npm install
  2. npm run start for dev mode

About

Rust-powered website (wasm) to solve the NYT's game Letter Boxed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published