Skip to content

JoyousOne/scrabble-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrabble-solver

Simple scrabble-solver written in rust.

Table of content:

Installation

  1. Install Rust

  2. Clone the repo:

git clone https://github.com/JoyousOne/scrabble-solver.git
cd scrabble-solver
  1. Dependencies: Will be automatically installed when running cargo. To consult the dependencies, see Cargo.toml.

Usage

Build & Run:

cargo run

man:

Usage:
    scrabble-solver [options] [INPUT] [WORDLIST]
    scrabble-solver (--help)

Options:
    -h, --help               Show this message.
    -l, --load INPUTFILE     Load existing dictionnary from a text json or bin file.
    -o, --output OUTPUTFILE  Save the dictionnary to a given file. Only support .json and .bin.
    --json-format            Format the saved file to JSON format instead of binary code.

Examples:

cargo run

OUTPUT_FILE: dict.bin
Enter your letters:
rust

RS
RT
UR
US
UT
SR
SU
ST
TR
TU
TS
RUS
RUT
URS
UST
UTS
SUR
STR
STU
TRS
TUR
RUST
RUTS

About

scrabble solver implemented in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages