https://github.com/ajay-dhangar/hangman-game
This is a simple hangman game that I created using JavaScipt. The game is played by guessing the letters of a word.
https://github.com/ajay-dhangar/hangman-game
game game-development games hangman-game
Last synced: 7 months ago
JSON representation
This is a simple hangman game that I created using JavaScipt. The game is played by guessing the letters of a word.
- Host: GitHub
- URL: https://github.com/ajay-dhangar/hangman-game
- Owner: ajay-dhangar
- Created: 2024-08-05T15:07:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-05T15:40:38.000Z (about 1 year ago)
- Last Synced: 2025-03-28T05:41:42.085Z (7 months ago)
- Topics: game, game-development, games, hangman-game
- Language: JavaScript
- Homepage: https://ajay-dhangar.github.io/hangman-game/
- Size: 566 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hangman Game
This is a simple hangman game that I created using JavaScipt. The game is played by guessing the letters of a word. The player has 6 chances to guess the word. If the player guesses the word correctly, they win the game. If the player runs out of chances, they lose the game.
## How to Play
1. When the game starts, the player will see a word with dashes representing the letters of the word.
2. The player can guess a letter by pressing a key on the buttons of web page.
3. If the letter is in the word, the letter will be displayed in the correct position of the word.
4. If the letter is not in the word, the letter will be not displayed in the word and the player will lose a chance.
5. The player can see the letters that they have guessed correctly and incorrectly.
6. The player can see the number of chances remaining.
7. If the player guesses the word correctly, they win the game.
8. If the player runs out of chances, they lose the game.
9. The player can play the game again by pressing the `Play Again` button.
## Features
- The game has a list of words that are randomly selected.
- The player can guess the letters of the word.
- The player has 6 chances to guess the word.
- The player can see the number of chances remaining.
- The player can see the letters that they have guessed.
- The player can see the word with the correct letters that they have guessed.
- The player can see the letters that they have guessed incorrectly.
- The player can see the number of wins and losses.
- The player can play the game again after winning or losing.
- The player can see the correct word after losing the game.
## Technologies Used
- HTML
- CSS
- JavaScript
## Demo
[Click here to play the game](https://ajay-dhangar.github.io/hangman-game/)
## Screenshots

