This is a web-based implementation of the classic word-guessing game, Wordle, built using ReactJS. In this game, players are presented with a randomly generated five-letter word, and have six attempts to correctly guess the word by entering five-letter words.
To play the game, simply visit the deployed web application here. Alternatively, you can clone this repository and run the game locally on your machine.
To run the game locally, you will need to have Node.js and yarn installed on your machine.
- Clone this repository to your machine using the following command:
git clone [email protected]:aydenjahola/Wordle.git
- Navigate into the cloned directory:
cd Wordle
- Install the necessary dependencies using yarn:
yarn install
the words are stored in src/wordle-bank.txt
, please feel free to add more words or change them. the app only checks if the words exists in that file.
please make sure that words dont already exist if you want to add more words.
To run the game, simply run the following command from within the cloned directory:
yarn start
This will start the development server and launch the game in your default web browser.
We welcome contributions from anyone! To contribute to this project, please follow these steps:
- Fork this repository
- Create a new branch (git checkout -b new-feature)
- Make your changes and commit them (git commit -am 'Add new feature')
- Push to the branch (git push origin new-feature)
- Create a new pull request and describe your changes in detail
-
The game will generate a random five-letter word for the player to guess.
-
The player has six attempts to guess the word by entering a five-letter word into the input field and clicking the "ENTER" button.
-
After each guess, the game will display feedback indicating which letters in the player's guess are correct and in the correct position (marked with green), and which letters are correct but in the wrong position (marked with orange).
-
If the player correctly guesses the word within six attempts, they win the game. Otherwise, they lose.
- ReactJS - The web framework used
This project is licensed under the MIT License - see the LICENSE file for details.