Skip to content

rebeccachoo/react-hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React - Hangman

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

Installation

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.

Change Answers

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.

Contributing

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.

Contributors

Rebecca Choo

About

Hangman Alphabet Guess Game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published