/hangman-game

Hangman Game built with React!

Primary LanguageJavaScript

Hangman Game - React Edition

Welcome to the Hangman Game built with React! This web-based game challenges players to guess a word by suggesting letters within a limited number of attempts.

How to Play

  1. Clone or download the repository to your local machine.

    git clone https://github.com/j11tendra/hangman-game.git
  2. Navigate to the project folder.

    cd hangman-game
  3. Install dependencies.

    npm install
  4. Start the development server.

    npm start
  5. Open your browser and visit http://localhost:3000 to play the Hangman game.

Game Rules

  • The game selects a random word, and your goal is to guess the word by suggesting letters.
  • You have a limited number of attempts to guess the correct word.
  • Incorrect guesses result in the drawing of parts of a hangman figure.
  • The game ends when you correctly guess the word or run out of attempts.

Technologies Used

  • React: JavaScript library for building user interfaces.
  • CSS: Styling to enhance the visual experience.

Project Structure

  • src/components: Contains React components for the game.
  • src/styles: Contains assets for the application.
  • src/assets: Contains styles for the application.
  • src/Main.jsx: Main application component.
  • src/App.jsx: Sub-main for the application.

Contribution

Feel free to contribute to the project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated!

License

Don't have any license yet!!

Enjoy playing Hangman and happy coding!