A fun and interactive Hangman Game built with HTML, CSS, and JavaScript. Players try to guess the hidden word before the hangman is fully drawn!
- Multiple Themes: Choose from different word categories (City, Fruits, French Food).
- Animated Hangman Drawing: Each incorrect guess adds a body part with a smooth fade-in effect.
- Hint System: Reveal a random letter when stuck.
- Dynamic Keyboard: Clickable on-screen keyboard for ease of play.
- Responsive Design: Looks great on desktop and mobile devices.
- Choose a theme from the available options.
- A random word from the selected theme is chosen, represented by underscores.
- Click letters from the virtual keyboard to guess the word.
- Each wrong guess adds a body part to the hangman.
- Use the Hint button to reveal a letter (optional).
- Win by guessing the word correctly before the hangman is fully drawn!
- Clone this repository:
git clone https://github.com/yourusername/hangman-game.git
- Open the
index.htmlfile in a browser. - Play and have fun!
- HTML: Structure of the game.
- CSS: Styling and animations.
- JavaScript: Game logic and interactivity.
Feel free to contribute by adding more word categories, improving the UI, or optimizing the game logic! Fork the repo, make changes, and submit a pull request.
This project is open-source and available under the MIT License.
Enjoy playing the Hangman Game! 🎉