Skip to content

NakshGarg/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Hangman Game

A classic Hangman game built using HTML, CSS, and JavaScript. Guess the hidden word one letter at a time, but be careful โ€” too many wrong guesses and the stickman meets his fate!

๐Ÿš€ Features

โœ… Interactive word guessing

โœ… Dynamic UI updates (correct & wrong letters)

โœ… Stickman drawing for wrong guesses

โœ… Responsive design for all screen sizes

โœ… Simple, lightweight, and fun ๐ŸŽ‰

๐Ÿ› ๏ธ Tech Stack

HTML5 โ€“ Structure of the game

CSS3 โ€“ Styling & responsive design

JavaScript (Vanilla JS) โ€“ Game logic & interactivity

๐Ÿ“‚ Project Structure hangman-game/ โ”‚โ”€โ”€ index.html # Main HTML file โ”‚โ”€โ”€ style.css # Styling โ”‚โ”€โ”€ script.js # Game logic โ”‚โ”€โ”€ README.md # Project documentation

๐ŸŽฎ How to Play

Open the game in your browser.

A random word is chosen secretly.

Guess the letters by typing/clicking.

For every wrong guess, part of the hangman is drawn.

Win by guessing the word before the hangman is complete!

๐Ÿš€ Getting Started 1๏ธโƒฃ Clone the repo git clone https://github.com/your-username/hangman-game.git

2๏ธโƒฃ Open in browser

Just double-click index.html to run the game locally.

โœจ Future Enhancements

๐ŸŽต Add sound effects

๐Ÿ“ Word categories (Animals, Countries, etc.)

๐ŸŽจ Dark mode / Theme switcher

๐Ÿ”ฅ Multiplayer mode

๐Ÿค Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what youโ€™d like to change.

๐Ÿ“œ License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published