This is a python program that brings the word game Hangman to the terminal.
If you have not played the game before, here are the rules:
- Play individually or in groups.
- You will be provided with an unknown word, which has to be guessed. You will be provided with a hint for the word and also the number of letters in it.
- Select a letter of the alphabet, which you think might be present.
- If the letter is present in the word, continue to guess the rest of the letters. You will not be given a penalty (obviously lol).
- If the letter isn't present in the word, you will get a penalty.
- For each penalty, a letter be striked off from the word HANGMAN, till no letters remain in the word to be striked off. This will result in LOSS.
- You can also get to guess the whole word, if you have an idea. If you guess it correctly, you WIN, else another penalty.
The program uses Python 3.6. Download it from here.
- Add comments and license.
- Implement multiplayer version.
- GUI.
- Add more words to words.txt or learn to use Oxford Dictionary API.