letterboxed-rs

Crates.ioletterboxed-rs
lib.rsletterboxed-rs
version0.1.1
sourcesrc
created_at2024-06-11 19:41:47.353623
updated_at2024-06-11 19:45:11.868679
descriptionA solver for the puzzle game Letter Boxed by The New York Times
homepagehttps://github.com/magnusrodseth/letterboxed-rs
repositoryhttps://github.com/magnusrodseth/letterboxed-rs
max_upload_size
id1268858
size886,157
Magnus Rødseth (magnusrodseth)

documentation

README

letterboxed-rs, a solver for the puzzle game "Letter Boxed"

What is it?

Letter Boxed is a popular puzzle game by the New York Times. Try it out here. This project is a solver for the game, written in Rust.

How to use it?

# Installing the application
cargo install letterboxed-rs

# Running the application
letterboxed-rs --grid "abc,def,ghi,jkl"

# Optionally, you can set the maximum number of guesses to be made
letterboxed-rs --grid "abc,def,ghi,jkl" --max-guesses 10

# Help
letterboxed-rs --help

You'll notice that the grid is represented as a comma-separated string of words. Each word is a sequence of characters, and the words are separated by commas. The grid is a square, so the number of characters in each word is the same.

Each group of words represents a side of the square grid. The first group of words represents the top side, the second group represents the right side, the third group represents the bottom side, and the fourth group represents the left side. The order really doesn't matter, as long as you're consistent.

Developer information

Developed by Magnus Rødseth.

Commit count: 12

cargo fmt