Skip to content

aklsh/Hangman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

This is a python program that brings the word game Hangman to the terminal.

Rules to play the game


If you have not played the game before, here are the rules:

  1. Play individually or in groups.
  2. 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.
  3. Select a letter of the alphabet, which you think might be present.
  4. 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).
  5. If the letter isn't present in the word, you will get a penalty.
  6. 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.
  7. You can also get to guess the whole word, if you have an idea. If you guess it correctly, you WIN, else another penalty.

Requirements


The program uses Python 3.6. Download it from here.

To-do


  • Add comments and license.
  • Implement multiplayer version.
  • GUI.
  • Add more words to words.txt or learn to use Oxford Dictionary API.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages