https://github.com/sokilskill/hangman
hangman-game
https://github.com/sokilskill/hangman
html-css-javascript
Last synced: 11 months ago
JSON representation
hangman-game
- Host: GitHub
- URL: https://github.com/sokilskill/hangman
- Owner: Sokilskill
- License: mit
- Created: 2025-06-28T08:29:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-28T09:38:24.000Z (about 1 year ago)
- Last Synced: 2025-06-28T10:32:14.419Z (about 1 year ago)
- Topics: html-css-javascript
- Language: JavaScript
- Homepage: https://sokilskill.github.io/hangman/
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
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!