Description • Table of contents • About the Game • Installation •
An interactive Hangman Game built from scratch using React hooks. The app utilizes a random word generating API to fetch data from. Some of the React concepts used in this app are: components, state management, props, hooks, etc.
The goal of the Hangman Game is to guess a random word letter by letter. The user has to click on the buttons that contain the letters of the alphabet.
The maximum amount of mistakes a player can make are 10. If the player did not guess the word and reaches 10 mistakes the player lost.
If the player guessed the word before making 10 mistakes the game is won.
The See Rules button opens up a modal with the rules of the game.
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/PentekTimi/hangman-game.git
# Go into the repository
$ cd hangman-game
# Install dependencies
$ npm install
# Run the app
$ npm start