This simulates the game of Hangman, coded in Python. The program randomly generates a word to be guessed from the 'Words.txt'. Hangman class utilizes methods such as reading/writing to a file, sorting, initializing and changing arrays, displaying the hangman visual, etc. Letters, the second class, is responsible for displaying the word as letters are correctly guessed, tracking the game's progress, and so on. The user only gets six wrong guesses until they lose; repeat guesses/letters do not count against the user.
-
Notifications
You must be signed in to change notification settings - Fork 0
This simulates the game of Hangman, coded in Python. The program randomly generates a word to be guessed from the 'Words.txt'. Hangman class utilizes methods such as reading/writing to a file, sorting, initializing and changing arrays, displaying the hangman visual, etc. Letters, the second class, is responsible for displaying the word as letter…
lstrand98/Hangman-Game
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This simulates the game of Hangman, coded in Python. The program randomly generates a word to be guessed from the 'Words.txt'. Hangman class utilizes methods such as reading/writing to a file, sorting, initializing and changing arrays, displaying the hangman visual, etc. Letters, the second class, is responsible for displaying the word as letter…
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published