A Wordle-inspired game built using ReactJS, CSS, and Tailwind CSS.
This game allows players to guess a word within a limited number of attempts, providing feedback on the correctness of each guess.
The game is designed to work seamlessly on both desktop and mobile devices.
The game is deployed on Vercel. You can view the live demo here: Wordle Game Live
Wordle game running on a desktop
Wordle game running on a mobile device
- Responsive Design: The game is fully responsive, providing an optimal experience on both mobile and desktop devices.
- State Management: The game uses React's useState and Zustand for efficient state management.
- Animations: CSS animations are used to enhance the gameplay experience, such as the flip animation when revealing the letters.
- Feedback System: Players receive feedback on their guesses, indicating correct letters in the correct position, correct letters in the wrong position, and incorrect letters.
- ReactJS: For building the user interface and handling component-based architecture.
- CSS: For custom styling and animations.
- Tailwind CSS: For utility-first styling and responsive design adjustments.
- Zustand: For managing global state across the application.
Make sure you have the following installed:
- Node.js
- npm or yarn
Clone the repository:
git clone https://github.com/your-username/wordle-game.git cd wordle-game
- bash
- Copy code
- npm install
- npm run dev
- bash
- Copy code
- yarn install
- npm run dev
Open http://localhost:5173/ to view the game in the browser.
The game is deployed on Vercel. To deploy your own version, you can follow these steps:
- Push your changes to a GitHub repository.
- Link your repository to a new project on Vercel.
- Vercel will automatically deploy your project and provide a live URL.
- Enter a guess by typing a word or clicking the on-screen keyboard.
- Press 'Enter' to submit your guess.
- The game will provide feedback:
- Green indicates a correct letter in the correct position.
- Yellow indicates a correct letter in the wrong position.
- Red indicates an incorrect letter.
- Continue guessing until you find the correct word or run out of attempts.
Contributions are welcome! If you have suggestions for improvements or find any bugs, feel free to create an issue or submit a pull request.
This project is licensed under the MIT License.
Inspired by the popular Wordle game.