pankaj-pant / hangman-game

Hangman game built with React. View the app here -> https://hangman-72ecb.web.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangman Game

Guess letters one at a time to solve the word puzzle. Click a letter to guess it. If you pick a letter that is not in the word, then a stickman is slowly drawn. With each wrong letter guess, the man is drawn more and more. When the man is finished, he is hung and the game is lost. If you can reveal all the letters in the word before the man is hung then you win!

Quick start

  1. Clone the repo.
  2. Install and build app.
  3. Run the app.

1. Clone the repo

Clone the hangman-game repository locally. In a terminal, run:

$ git clone https://github.com/pankaj-pant/hangman-game.git
$ cd hangman-game

2. Install and build app

To install the dependencies and build a production version of the app, run the commands:

$ npm install
$ npm run build

3. Run the app

This command serves the app at http://localhost:8080/

$ npm start

License

MIT

About

Hangman game built with React. View the app here -> https://hangman-72ecb.web.app/


Languages

Language:JavaScript 89.9%Language:HTML 5.3%Language:CSS 4.8%