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.
-
Clone or download the repository to your local machine.
git clone https://github.com/j11tendra/hangman-game.git
-
Navigate to the project folder.
cd hangman-game
-
Install dependencies.
npm install
-
Start the development server.
npm start
-
Open your browser and visit
http://localhost:3000
to play the Hangman game.
- 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.
- React: JavaScript library for building user interfaces.
- CSS: Styling to enhance the visual experience.
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.
Feel free to contribute to the project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated!
Don't have any license yet!!
Enjoy playing Hangman and happy coding!