This is a web-based Hangman game themed around IIT Patna. Players guess letters to complete a word related to the institute, with a limited number of incorrect guesses allowed before the game ends.
- Responsive design that works on desktop and mobile devices
- Words related to IIT Patna culture and campus life
- Visual hangman display that updates with each incorrect guess
- On-screen keyboard for letter input
- Game over modal with win/lose message and option to play again
- HTML5
- CSS3
- JavaScript
- Open the game in a web browser
- A random word related to IIT Patna will be selected
- Guess letters by clicking on the on-screen keyboard
- Correct guesses will reveal the letter in the word
- Incorrect guesses will add a part to the hangman figure
- Win by guessing the entire word before the hangman is completed
- Lose if the hangman figure is fully drawn before the word is guessed
- Clone the repository: git clone https://github.com/your-username/iit-patna-hangman.git
- Navigate to the project directory: cd iit-patna-hangman
- Open
index.html
in your web browser