Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanjermakov/wordle
TUI version of the Wordle word puzzle game written in Haskell
https://github.com/ivanjermakov/wordle
brick game haskell tui wordle
Last synced: 5 days ago
JSON representation
TUI version of the Wordle word puzzle game written in Haskell
- Host: GitHub
- URL: https://github.com/ivanjermakov/wordle
- Owner: ivanjermakov
- License: mit
- Created: 2022-01-30T19:53:31.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T18:13:39.000Z (over 2 years ago)
- Last Synced: 2023-03-07T13:28:16.014Z (over 1 year ago)
- Topics: brick, game, haskell, tui, wordle
- Language: Haskell
- Homepage:
- Size: 312 KB
- Stars: 51
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# wordle
TUI version of the [Wordle](https://www.powerlanguage.co.uk/wordle/) word puzzle game written in Haskell
![wordle](https://user-images.githubusercontent.com/26609879/152110207-aeae6bc7-4770-4ee5-beb0-b325e370394e.gif)
## Features
- [x] Daily game mode (original Wordle words)
- [x] Infinite game mode
- [x] Custom word length
- [x] Custom max attempts
- [x] Custom target and guess dictionaries
- [x] Result sharing (emoji + ascii)
- [ ] Hard mode## Install
### From source
Install [Stack](https://docs.haskellstack.org/en/stable/install_and_upgrade/)
```
git clone https://github.com/ivanjermakov/wordle.git
cd wordle
stack install
```### From binary
Download the latest binary from the [Releases page](https://github.com/ivanjermakov/wordle/releases)
```
wget https://github.com/ivanjermakov/wordle/releases/latest/download/wordle
chmod +x wordle
sudo mv wordle /usr/bin/
```## Usage
```
Usage:
wordle [-idstgalvh]Options:
-i, --infinite Infinite game mode (Default)
-d, --daily Daily game mode
-s, --ascii Print results in ASCII
-t, --target-dict= Path to the target word dictionary
-g, --guess-dict= Path to the guess word dictionary
-a, --attempts= Number of attempts allowed
-l, --word-length= Target word length
-v, --version Show wordle version
-h, --help Show this message and exit
```## Credit
- Original game by Josh Wardle: [Wordle](https://www.powerlanguage.co.uk/wordle/)
- 84k words english dictionary: http://www.gwicks.net/dictionaries.htm
- 10k words english dictionary: https://www.mit.edu/~ecprice/wordlist.10000