Introduction This project was made as a Task during my Bootcamp. Its guessing word game. It can be used to improve spelling memory.
- Tap on the button in top right of this project saying 'Code' and download zip folder to your desired directory.
- Unzip the folder
- Or you can clone repository by writing $ git clone https://github.com/sanSha2/hangman.git.
- Open Terminal use 'cd' commands to navigate to the desired folder use 'cd ..' or 'cd..' to move up a directory/folder and 'cd dirName' to move in the directory.
- Finally run 'cd hangman' for the final navigation.
- Run
npm install
. It will install all the required 'node_modules' on your machine. - Now run
npm start
- Your default broswer will open, and the game will start. or you can navigate to it at localhost:3000/
- You can learn here React, and make your own hangman.
How to play Hangman! The aim of the game is to correctly guess the word that is generated. Each blank space represents a letter, and it's your job to guess the right letters.
- To re-start the game, click the 'Play again' button any time at the bottom.
- Guess a letter by typing it on your computer. Choose carefully though, as you can only guess an incorrect letter ten times.
- If you guess correctly, the letter is revealed at the top but, if you don't, you lose one of your chances and the image changes, wrong letter will be displayed at the bottom as wrong .
- If you have entered a letter more than once a message pops up at the bottom of the screen saying that 'You have already entered this letter'.
- If you get every letter in the word before the final image is displayed, you win!
- However, if the final image is displayed and you still have not completed your word, you lose.
- Click 'Hide Help' to hide this section. You can click here any time whenever you need help understanding the game.
- Have Fun!!