An open API service indexing awesome lists of open source software.

https://github.com/sokilskill/hangman

hangman-game
https://github.com/sokilskill/hangman

html-css-javascript

Last synced: 11 months ago
JSON representation

hangman-game

Awesome Lists containing this project

README

          

## 🎮 Hangman Game

#### A classic Hangman word-guessing game built entirely with vanilla JavaScript, HTML, and CSS.

#### Test your vocabulary and guessing skills before the hangman drawing is completed!

## 🚀 Features

1. 🖱️ Intuitive Interface – Clean and user-friendly design
2. ✏️ Live Word Update – Correct letters are revealed as you guess
3. 💀 Progressive Drawing – Each wrong letter adds a body part to the hangman
4. 💬 Word Hints – View optional descriptions of the word if available
5. 🔔 Custom Notifications – Pop-up messages inform you of game events
6. 💻 Modal Windows – Win/Lose/game restart messages displayed in modals

## 🎯 How to Play

1. The first player sets a hidden word and an optional hint.
2. On the game screen, the word appears as dashes.
3. Click on letters to guess them.
4. Correct letters are revealed in place.
5. Wrong guesses add a body part to the hangman.
6. The game ends in a win if the word is guessed or a loss if the hangman is fully drawn.

## 📦 Installation & Run

1. Clone the repository:

```
git clone https://github.com/Sokilskill/hangman.git
```

2. Navigate to the project directory:

```
cd hangman-game
```

3. Open the index.html file in your browser.

## 🌟 Contribute

If you'd like to contribute or suggest improvements — feel free to open an issue or pull request!