# Hangman Game
A simple Hangman game built with React.
## Features
- Random word generation
- Letter guessing with visual feedback
- Language-based wrong guess tracking
- Win/Loss detection
- Restart functionality
## Installation
1. Clone the repository:
```sh
git clone https://github.com/your-username/hangman-game.git
cd hangman-game- Install dependencies:
npm install
- Start the development server:
npm run dev
src/
│── components/
│ ├── Header.jsx
│ ├── ResultBar.jsx
│ ├── Languages.jsx
│ ├── WordDisplay.jsx
│ ├── KeyBoard.jsx
│── utils.jsx
│── langList.jsx
│── App.jsx
- The game selects a random word.
- Click letters on the virtual keyboard to guess.
- Correct letters appear in the word.
- Wrong guesses reduce remaining attempts.
- Win by guessing all letters correctly.
- Lose when wrong guesses exceed the limit.
- React
- JavaScript
- clsx (for conditional styling)
Feel free to submit issues or pull requests.
This project is licensed under the MIT License.