This project is a web-based endless version of the popular word-guessing game Wordle. It's built using HTML, CSS, and JavaScript, providing an interactive and engaging word puzzle experience right in your browser.
- Endless word challenges - play as many rounds as you want!
- On-screen keyboard for easy input
- Visual feedback on guessed letters
- Responsive design for various screen sizes, including mobile devices
- Custom styling with a dark theme
- A modern web browser (e.g., Chrome, Firefox, Safari, Edge)
- Clone the repository:
git clone https://github.com/TriMPham98/wordle.git
- Navigate to the project directory:
cd wordle
- Open the
index.html
file in your web browser.
- The game will select a random 5-letter word for each round.
- You have 6 attempts to guess the word.
- Type your guess using the on-screen keyboard or your physical keyboard.
- Press 'Enter' to submit your guess.
- The game will provide feedback:
- Green: Letter is correct and in the right position
- Yellow: Letter is in the word but in the wrong position
- Grey: Letter is not in the word
- Keep guessing until you solve the word or run out of attempts!
- After each round, you can start a new game with a fresh word.
index.html
: The main HTML filestyles.css
: Contains all the styling for the gamescript.js
: The JavaScript file with game logicvalid-words.txt
: List of valid 5-letter wordscommon-words.txt
: List of common 5-letter words for challenges
Contributions are welcome! Please feel free to submit a Pull Request.
- Inspired by the original Wordle game created by Josh Wardle
- Word lists sourced from Valid Wordle Words
Enjoy playing Endless Wordle!