Welcome to the Hangman Game! This is a simple word guessing game developed in Python. The objective of the game is to guess the hidden word by suggesting letters within a limited number of attempts.
Features Installation Usage Contributing
- Single-player game against the computer.
- Random word selection from a predefined list.
- Display of guessed letters and remaining attempts.
- Simple command-line interface.
- Case-insensitive input handling.
Clone the repository: git clone https://github.com/vdrax/Hangman.git
cd hangman-game
Run the game: python Hangman.py
- The computer will randomly select a word, and you need to guess it letter by letter.
- You have a limited number of attempts to guess the word.
- Each incorrect guess reduces your remaining attempts.
- If you guess the word correctly within the allowed attempts, you win!
- If you run out of attempts before guessing the word, you lose.
Welcome to Hangman!
You have 6 attempts remaining.
_ _ _ _ _ _ _
Guess a letter: e
_ e _ _ _ _ _
You have 5 attempts remaining.
Guess a letter: a
_ e _ _ _ a _
...
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch: git checkout -b my-feature-branch
- Make your changes and commit them: git commit -m 'Add new feature'
- Push to the branch: git push origin my-feature-branch
- Create a pull request describing your changes.