An open API service indexing awesome lists of open source software.

https://github.com/jimlynchcodes/n-letter-wordle-cli

A wordle clone, played in the command line, with words of any length.
https://github.com/jimlynchcodes/n-letter-wordle-cli

Last synced: 5 months ago
JSON representation

A wordle clone, played in the command line, with words of any length.

Awesome Lists containing this project

README

          

# N Letter Wordle Game
A wordle clone, played in the command line, with words of any length. Also, this version gives you the definitions of the word when the game is over. 🥇



## Disclaimer
_We are not affiliated at all with Wordle or New York Times. This is simply a toy project for [Jim](github.com/JimLynchCodes) to practice building cli tools and coding in Rust..._


## Try The Live, Deployed CLI Tool!

Two different ways to install: via npm or via cargo.


### Installation Method 1) NPM

Install `n-letter-wordle` as a global npm dependency:
```sh
npm i -g n-letter-wordle
```


### Installation Method 2) Cargo

Install `n-letter-wordle` as a global npm dependency:
```sh
cargo install n-letter-wordle
```

## Local Dev
Clone this project, then run it with cargo:
```
cargo run
```

Run unit & integration tests:
```
cargo test
```

Run format & linting checks:
```
cargo fmt
cargo clippy
```

## Production build
Build with the release flag:
```
cargo build --release
```

## Deploy

First, login to cargo and npm
```
cargo login
npm adduser
```

Then I deployed with [rust-to-npm](https://github.com/a11ywatch/rust-to-npm):
```
rust-to-npm-cli deploy -b
```