Welcome to the Hangman Game! This is a classic word-guessing game implemented in native JavaScript. Test your vocabulary skills and see how many attempts it takes you to guess the hidden word!
- Simple and intuitive user interface
- Random word selection from a predefined list
- Tracks the number of incorrect guesses
- Displays the correctly guessed letters
- Option to play again after finishing a game
- HTML: Structure of the game
- CSS: Styling for a better user experience
- JavaScript: Game logic and functionality
- A random word is selected, and you will see underscores representing each letter.
- You have a limited number of incorrect guesses (usually 6).
- Enter a letter to guess. If the letter is in the word, it will be revealed; otherwise, you will lose a life.
- Continue guessing until you either reveal the word or run out of lives.
- Have fun!
To get started with the Hangman game, follow these simple steps:
- Clone the repository:
git clone https://github.com/yermaka-a/hangman
- Run index.html on you dev server
- Play!
Simply open the index.html file in your favorite web browser. The game will load, and you can start guessing letters right away!
Contributions are welcome! If you have suggestions for improvements or new features, feel free to create a pull request or open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.