Wordle is a word-guessing game where you try to guess a secret word within a limited number of attempts. This project provides a Python implementation of the Wordle game.
To play the Wordle game locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/wordle-game.git cd wordle-game -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Run the Wordle game:
python start.py
-
The game will start, and you will have to guess the secret word within a limited number of attempts.
- Enter your guesses one letter at a time.
- You can use the backspace key to delete a letter from your current guess.
- Press Enter to submit your guess when you think you have guessed the secret word.
- You win the game if you correctly guess the secret word within the allowed number of attempts.
- Secret reward if you win
- If you exceed the maximum number of attempts, you lose the game.
Contributions to this project are welcome! Feel free to open issues or pull requests to suggest improvements or report bugs.