Wordle CLI Game
Play the classic Wordle game directly in your terminal! Guess the secret five letter word within six attempts!
Features
- Interactive Gameplay: Receive immediate feedback on your guesses.
- Colour Coded Hints: Letters are highlighted to indicate correct positions and presence in the secret word.
- Requires a terminal that supports coloured output.
- Command Support:
/list: Display the status of all letters./grid: View your current guesses and their evaluations./end: End the current wordle game.
Installation
Option 1: Install from PyPI (Recommended)
The easiest way to install and start playing is by using pip:
pip install pywordle-cli
Once installed, you can start the game by typing:
wordle
Option 2: Install from Source
If you'd like to install the package yourself, follow these steps:
-
Clone the repository:
git clone https://github.com/ousmanebarry/wordle-cli.git cd wordle-cli
-
Install the package:
pip install .
-
Start the game:
wordle
How to Play
-
Gameplay Instructions:
- Guessing: Enter a valid five letter word and press Enter.
- Feedback:
- Green: Correct letter in the correct position.
- Yellow: Correct letter in the wrong position.
- Red: Letter not in the secret word.
-
Commands:
/list: Display the status of all letters./grid: View your current guesses and their evaluations./end: End the current wordle game.
-
Winning the Game:
- Guess the secret word within six attempts to win.
- If you fail to guess correctly after six tries, the secret word will be revealed.
Dependencies
- Python 3.7 or higher
- colorama: For colored terminal text.
- A terminal that supports ANSI color codes.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
Inspired by the original Wordle game.
Enjoy the game and happy guessing! 🎉
Release files for pywordle-cli 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pywordle_cli-0.1.3.tar.gz | 42.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pywordle_cli-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.5 kB
Release files / pywordle_cli-0.1.3.tar.gz
| Download URL | pywordle_cli-0.1.3.tar.gz |
|---|---|
| Size | 42.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b6bab50ffd69c98f1083828b64a14fde9df7d1b179bdb8e885b1fd5a11fc9d4
|
|
BLAKE2b-256 checksum How to use checksums |
f9672b994657e611041b165344c8dd2692bd8297c8cb0b5965def0664606cb2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 14, 2024.
Transparency logRelease files / pywordle_cli-0.1.3-py3-none-any.whl
| Download URL | pywordle_cli-0.1.3-py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
136231a6a70ca950955ccac1606de7f2493d2b71eb843616709f68a8784a7c16
|
|
BLAKE2b-256 checksum How to use checksums |
51c42841962623ed1e7412c62200813fd17b09f6d2c936edf7bbb390528637b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 14, 2024.
Transparency log