REPOSITORY OVERVIEWLive repository statistics
★ 24Stars
⑂ 64Forks
◯ 0Open issues
◉ 24Watchers
44/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
30 Community adoption25% weight
32 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
59 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
How to play
Playing this Hangman game is easy: Simply download the repository to your computer and run hangman.py! The game comes with its own included word list, wordlist.txt, which contains a list of 58,000+ English words from which the game can draw.
Customization
Want to specify your own list of words in place of the included wordlist.txt? Simply overwrite that file with a text file of your own of the same filename, with each word on a separate line. Compound words with spaces involved work, too (eg., ice cream).
You can also add new words onto the included wordlist.txt file to be used in the game. Words can be added at any place in the file but, again, add one word per line.
Requirements
- Have Python 3.3 installed on your computer
Who wrote this?
The program was written by Tom Catullo (tcatullo25*{at}gmail{dot}*com) as a leisurely project. I was learning Python in a class and decided to apply it to a project of my own to get some experience, and to have some fun. This was the result!
Acknowledgements
- The included graphics library,
graphics.py, was written by John Zelle for use with the book "Python Programming: An Introduction to Computer Science" (Franklin, Beedle & Associates). Note: I only used this particular graphics library because it was included with the textbook used in my university class; however, I am aware that there are much better alternatives out there.
- The content of the included
wordlist.txt file was obtained from http://www.mieliestronk.com/wordlist.html.
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
The best beginner project we can consider is the game of Hangman. I am sure the majority of you reading this Python Projects blog has played Hangman at one point of time in your life. To put it in just one single statement, the main goal here is to create a “guess the word” game. As simple as it sounds, it has certain key things you need to note. * The user needs to be able to input letter guesses. * A limit should also be set on how many guesses they can use. * Keep notifying the user of the remaining turns. This means you’ll need a way to grab a word to use for guessing. Let us keep it simple and use a text file for the input. The text file consists of the words from which we have to guess. You will also need functions to check if the user has actually inputted a single letter, to check if the inputted letter is in the hidden word (and if it is, how many times it appears), to print letters, and a counter variable to limit guesses. Key Concepts to keep in mind for this Python Project: Random Variables Boolean Input and Output Integer Char String Length Print
27/100 healthActive repository
PythonNo license
⑂ 0 forks◯ 0 issuesUpdated Aug 31, 2021