Skip to content

PentekTimi/hangman-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game

Hangman Game created using ReactJS

DescriptionTable of contentsAbout the GameInstallation

hangman

Description

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.

Table of Contents

About the Game

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.

hangman2

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. hangman3

If the player guessed the word before making 10 mistakes the game is won. hangman4

The See Rules button opens up a modal with the rules of the game. hangman-modal

Installation

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

About

An interactive game built using the React library integrating API requests.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published