This hangman program will take a letter from you and you need to guess a word to win. If you fails to guess a letter in the word, it will draw a hangman and if it draws a complete man you will lose the game.
In this app, answers are names of animals but you can modify answers in the list.
This program uses Javascript canvas to draw.
You can modify the list of the answers.
Feature | Description |
---|---|
Slow Mode | ![]() |
Crazy Mode | ![]() |
You can simply download the files on your computer.
In terminal, install by typing npm install
.
And install confetti by typing npm install --save react-confetti
.
And type npm start
to start the program.
You can insert/delete answers in the file. On #21 in 'src/containers/Game.js', you can find an array of answers. You add more or remove the answers you don't want. I put only animal answers but feel free to put any words you'd like.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
Rebecca Choo |
---|