Crates.io | wordlet |
lib.rs | wordlet |
version | 0.2.0 |
source | src |
created_at | 2022-01-21 15:18:40.85481 |
updated_at | 2022-01-21 15:41:47.877327 |
description | A terminal-based clone of wordle |
homepage | |
repository | |
max_upload_size | |
id | 518595 |
size | 129,657 |
Wordlet is a command line clone of Wordle, written in Rust.
$ cargo install wordlet
After installation, start Wordlet by typing wordlet
in your terminal. Unlike
Wordle, you can play at any time, and you can play multiple times per day. The
game uses the same dictionary as Wordle.
Valid options are:
--difficulty
, default is "easy". Can also be "hard".--theme
, default is "dark". Can also be "light"You quit the game by pressing escape.
This was an exercise in writing a fully functional Rust program. There are probably better and more performant ways to implement the Wordlet algorithm but I purposely did not look at how Wordle was implemented.
I learned a lot (and lifted some code) from these other games: Minesweeper and Battleship. Both of those links came from the tui documentation.