Skip to content

lokesh2019/hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Web Application

This project was bootstrapped with Create React App.

Available Scripts

To run the application, in the project directory, run:

npm install

The web application does not include node_modules directory it depends on to function properly. Run this command to install all the required libraries.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Rules of the game

Mr. Stickson is our best friend. He has been falsely accused of a serious crime and the evil judge has sentenced him to be hanged. The evil judge has agreed to release Mr. Stickson if you can guess a random word decided by the judge before Mr. Stickson is hanged. His life is in your hands.. Good luck!

The game begins by presenting the player empty boxes - one for each letter in the mystery word. Player guesses the letter by selecting a letter on the keyboard on screen. If the guessed letter exists in the word, the game reveals the position of that letter.

If the player selects a letter that is not in the word, i.e. makes an incorrect guess, the game starts drawing a hanging man - one wrong guess at a time. After ten wrong guesses, the picture completes with a hanging man (hence the name hangman) and the game is over.

In summary, the purpose of the game is to guess the word correctly before Mr. Stickman is hanged.

Press the RESET button at the bottom of the screen in the "PLAY GAME" tab to reset the game at any point. A new random word will be selected and the game will restart.

Enjoy!! 😎

About

Hangman game writting with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published