A React-based implementation of the popular Wordle game where players have six attempts to guess a randomly selected five-letter English word. The game features an interactive game board, virtual and physical keyboard support, real-time color feedback, and a modern responsive interface.
This project was developed as part of the Chingu Voyage Program, where participants collaborate to build real-world applications. The objective of this assignment was to recreate the popular Wordle game within 6 weeks, following an agile development process and applying modern frontend development practices.
The project focuses on strengthening skills in React.js, component-based architecture, state management, event handling, and implementing game logic while maintaining clean, modular, and reusable code.
- 🎲 Randomly selects a secret five-letter word from a built-in dictionary
- 🟩 Six attempts to guess the correct word
- 🎨 Wordle-style color feedback
- Green: Correct letter in the correct position
- Yellow: Correct letter in the wrong position
- Gray: Letter not in the word
- ⌨️ Supports both:
- Physical keyboard input
- On-screen virtual keyboard
- 🔄 Play Again functionality
- 📱 Responsive user interface
- 🚫 Prevents guesses shorter than five letters
- 📚 Validates guesses against the built-in dictionary
- 🏆 Win/Lose modal after game completion
- 🧩 Component-based architecture using React
- React.js
- HTML5
- CSS3
- React Hooks (useState, useEffect)
- Vite
src/
│
├── assets/
│
├── components/
│ │
│ ├── data/
│ │ └── WordList.jsx
│ │
│ ├── footer/
│ │ ├── Footer.jsx
│ │ └── Footer.css
│ │
│ ├── game/
│ │ ├── Board.jsx
│ │ ├── Board.css
│ │ ├── Keyboard.jsx
│ │ └── Keyboard.css
│ │
│ ├── header/
│ │ ├── Header.jsx
│ │ └── Header.css
│ │
│ ├── modal/
│ │ ├── GameModal.jsx
│ │ └── GameModal.css
│ │
│ └── utils/
│ └── WordleUtils.jsx
│
├── App.jsx
├── App.css
├── index.css
└── main.jsx
git clone https://github.com/nahul100/wordle-game.git
cd wordle-game
npm install
npm run dev
https://chingu-voyages.github.io/V61-tier2-team-22/
Main packages required:
- React
- React DOM
- Vite
Install them with: npm install
For project management we used jira.Here is the jira link : https://zeesoleildev.atlassian.net/jira/software/projects/TT/list?jql=project%20%3D%20TT%20AND%20status%20%3D%20Done%20AND%20statusCategoryChangedDate%20%3E%3D%20-2w
- A random five-letter word is selected.
- Enter a five-letter guess using either:
- Your physical keyboard
- The on-screen keyboard
- Press Enter or Guess to submit.
- Receive color-coded feedback after each guess.
- Guess the word within six attempts to win.
- Click Play Again to start a new game.
- 🤖 AI-powered hint system
- 💡 AI next-word recommendation
- 📊 Player statistics dashboard
- 🔥 Daily challenge mode
- 🌙 Dark/Light theme toggle
- 🎵 Sound effects and animations
- 🌍 Multiplayer mode
- ☁️ Online leaderboard
- 📖 Vocabulary learning mode