Skip to content

Dyn4sty/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman

hangman game in python using wordlist file(example file in the repo)

Requirements

Python 3.x.x
pip install colorama

Usage

Enter file path: wordlist/words.txt
Enter index: 0
Enter word/letter: m
m _ _ _ _
Enter word/letter: e
m e _ _ _
Enter word/letter: o
m e o _ _
Enter word/letter: z
Wrong :(
x-------x
|
|
|
|
m e o _ _
Enter word/letter: clear


Enter word/letter: w
m e o w w
win
Do u Want to play again? -> y/n

Help

       Instructions
-------------------------------
Type wordlist path:     #wordlist/words.txt
Type `random` in the index input for a random word, otherwise write a number(for specific word's index).
// Useful Commands
clear - for cleaning the screen
Ctrl+C - For exiting.
------------------------------

About

Hangman game in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages