Skip to content

Peso255/PYHangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PYHangman

Simple game of Hangman for Python 3.

How to Play

  • Run program (python3 hangman.py).
  • A random word will be chosen from the specified WORDFILE to be guessed.
  • Guess by typing one lowercase letter when prompted.
  • Win within the amount of unique letter guesses as specified by MAXLIVES.

Settings

Can be found and customised on the top portion of the source code.

  • WORDFILE: A list of words to be selected. One lowercase alphabetic word per line. Defaults to words.txt.
  • MAXLIVES: Maximum amount of unique letter guesses (lives). Defaults to 10.
  • BARRIER: Border characters to be printed. Defaults to hashes (#).

Credits

© Peso255 2017 - Website, Twitter, Google+, Weibo, Vimeo

About

Simple hangman in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages