/Hangman-Game

Hangman Game 🎮: A classic word-guessing game brought to life in the console environment using C. Test your linguistic prowess as you attempt to unveil the secret word one letter at a time. With each incorrect guess, the hangman's fate hangs in the balance. Can you decipher the word before it's too late?

MIT LicenseMIT

Hangman Game 🎮

Welcome to the Hangman Game! This is a simple console-based game developed in C. Test your vocabulary skills by guessing the secret word before you run out of attempts!

How to Play 🕹️

  1. Clone the Repository:

    git clone https://github.com/pritamsingh22/hangman-game.git
  2. Compile the Code:

    gcc hangman.c -o hangman
  3. Run the Game:

    ./hangman
  4. Guess the Word:

    • Enter your guesses one letter at a time.
    • You have a limited number of attempts.
  5. Win or Lose:

    • If you guess the word correctly, you win!
    • If you run out of attempts, you lose.

Features ✨

  • 🎲 Randomly selected words from a predefined list.
  • 🤔 Intuitive and interactive UI.
  • 📈 Keeps track of attempts left.
  • 🏆 Celebrates your victory or shows empathy in defeat.

Contributing 🤝

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

License 📄

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact 📬

If you have any questions or suggestions, feel free to reach out:

Enjoy playing the Hangman Game! 🎉

This README provides clear instructions on how to clone, compile, and run the game. It also highlights the features, invites contributions, includes licensing information, and provides contact details for further communication.