🎯 WhatTheWord
A simple, replayable word guessing game where you choose the challenge before you start.
Pick how many letters you want to guess, choose your difficulty, and try to crack the hidden word before you run out of attempts.
🎮 How to Play
Choose a word length:
- 4 letters
- 5 letters
- 6 letters
Choose your difficulty:
- Easy
- Medium
- Hard
Start guessing!
Each guess gives you clues:
- 🟩 Green → correct letter in the correct position
- 🟨 Yellow → correct letter, but in the wrong position
- 🟥 Red → letter isn't in the word
Keep guessing until you find the word or run out of attempts.
If you don't get it, the hidden word is revealed.
Finished? Start a New Game and go again.
✨ Features
- 🎯 4, 5, and 6-letter word modes
- ⚡ Multiple difficulty levels
- 🟩🟨🟥 Color-coded letter feedback
- ⌨️ On-screen keyboard
- 🔢 Multiple attempts per game
- 🔄 Unlimited replays
- 🎲 New random word for every game
- 🏆 Win and loss states
- 📱 Responsive design for desktop and mobile
🛠️ Built With
- React
- TypeScript
- Vite
- CSS
Author
Vidhi Pandey