Skip to content

A fun Hangman-style word guessing game built with React, themed around Marvel heroes. Guess the correct word before all heroes are defeated!

Notifications You must be signed in to change notification settings

AceAkki/letsPlayDoomsDay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฆธโ€โ™‚๏ธ Marvel Heroes Hangman (React)

A fun Hangman-style word guessing game built with React, themed around Marvel heroes. Guess the correct word before all heroes are defeated! The game includes visual feedback, animations, and a celebratory confetti effect when you win ๐ŸŽ‰


๐Ÿš€ Features

  • โš›๏ธ Built with React Hooks (useState, useEffect, useRef)
  • ๐Ÿงฉ Randomly generated puzzle words
  • ๐Ÿฆธ Hero-based life system instead of classic hangman
  • ๐ŸŽจ Dynamic styling with clsx
  • ๐ŸŽ‰ Confetti animation on win
  • โŒจ๏ธ Interactive on-screen keyboard
  • ๐Ÿ” Restart game with Fight Again button
  • ๐Ÿ“ฑ Responsive layout with automatic scrolling

๐Ÿ•น๏ธ How to Play

  1. A random word is selected at the start of the game.
  2. Click letters on the on-screen keyboard to guess.
  3. Correct guesses reveal letters in the puzzle.
  4. Incorrect guesses eliminate heroes one by one.
  5. You win if you reveal the entire word.
  6. You lose if all heroes are defeated.
  7. Click Fight Again to start a new game.

๐Ÿ“ฆ Dependencies

This project uses the following packages:

  • react
  • nanoid โ€“ unique keys
  • clsx โ€“ conditional class names
  • react-use โ€“ window size hook
  • react-confetti โ€“ win animation

About

A fun Hangman-style word guessing game built with React, themed around Marvel heroes. Guess the correct word before all heroes are defeated!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published