Skip to content

sidd233/hangman

Repository files navigation

Hangman Clone

A modern, minimalist implementation of the classic Hangman game using React.

Description

This project is a Hangman game clone built with React, embracing a minimalist design philosophy. It features a clean, uncluttered interface with a hangman stand created using pure CSS. The game randomly selects words from a predefined list, each associated with a hint to help the player.

Features

  • Minimalist, sleek user interface
  • Pseudo-random word selection with associated hints
  • Interactive keyboard input
  • Visual representation of the hangman using CSS
  • Incorrect guesses tracker
  • Win/lose conditions
  • Game over screen with option to play again

Technologies Used

  • React
  • JavaScript
  • CSS

Installation

  1. Clone the repository: git clone https://github.com/siddharth-narayan-mishra/hangman.git
  2. Navigate to the project directory: cd hangman
  3. Install dependencies: npm install
  4. Run dev server: npm run dev

How to Play

  1. The game starts with a random word selected.
  2. Use your keyboard to guess letters.
  3. Correct guesses will reveal the letter in the word.
  4. Incorrect guesses will start drawing the hangman.
  5. You have 6 incorrect guesses before the game ends.
  6. Guess the word before the hangman is fully drawn to win!

License

This project is open source and available under the MIT License.

About

Recreation of the classic hangman game

Topics

Resources

License

Stars

Watchers

Forks