https://github.com/coriolinus/wordler
https://github.com/coriolinus/wordler
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/coriolinus/wordler
- Owner: coriolinus
- Created: 2022-01-11T22:50:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-12T16:37:31.000Z (over 4 years ago)
- Last Synced: 2025-02-01T04:16:21.399Z (over 1 year ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordler: Wordle from all perspectives
Inspired by [Wordle](https://www.powerlanguage.co.uk/wordle/), which was itself inspired by [Mastermind](https://en.wikipedia.org/wiki/Mastermind_(board_game)).
This provides traits defining both the oracle and the petitioner, and a general game-runner abstracted over those traits.
## Features
- `dict_solver`: A dictionary-based solver implementation.
- `human_petitioner`: IO stuff allowing a human to play interactively at the terminal.
- `memory_oracle`: An in-memory oracle which can initialize itself at random.
- `pretty_feedback`: colorful terminal output mimicing the offical format.
- `wordlist`: Not for public use; establishes a large cache of English words.
## Binaries
### `init-cache`
Min build: `cargo build --release --bin init-cache --features wordlist`.
Just initializes the dictionary cache; doesn't do anything interesting with it.
### `local-wordle`
Min build: `cargo build --release --bin local-wordle --features="human_petitioner memory_oracle"`.
Play unlimited games of wordle against the computer in the terminal. Add `pretty_feedback` to the features list for the best experience.
### `bot-match`
Min build: `cargo build --release --bin bot-match --features="dict_solver memory_oracle"`.
Have the computer play a game of wordle against itself. Add `pretty_feedback` to the features list for the best experience.
Strangely addictive.