Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.31 KB

README.md

File metadata and controls

46 lines (39 loc) · 1.31 KB

Wordle, playable from the CLI

This project seeks to emulate Wordle in your shell, using Textual. This project uses the "official" answers and allowed words lists found in Wordle's source code, but the answer is randomized every time you play the game.

Currently, only the basic functionality of the game is implemented, and various elements are missing, such as the win screen and error popups.

Prerequsities

Installation

Clone this repository and CD to its root directory:

git clone https://github.com/phenom4n4n/wordle-textual
cd wordle-textual

Create a new Python virtual environment:

python -m venv .venv

Activate the virtual environment:

Unix

source .venv/bin/activate

Windows

.venv\Scripts\activate

And install the requirements

pip install -Ur requirements.txt

Playing the game

After CD'ing to the root directory and activating the virtual environment as shown above, run the game with Python:

python main.py

Credits

  • Will McGugan, who maintains Textual and Rich, the core Python libraries for the game's TUI