pip install AaditsHangman.
This will install the module, and will also install other dependencies that this module needs.
Opening up the game
Play the game by opening up some editor (or ig typing
python in terminal also works)
Then type this following code:
from AaditsHangman import Hangman hangman = Hangman() hangman.new_game()
A tkinter window should open on your screen.
Have Fun playing!
Tips on the game and how to play
The computer will choose the word, and you have to guess it
There is a timer on the top right corner of the window. When you get the word OR you run out of tries, that timer will end. See how fast you can get it!
Instead of pressing submit on your window, you can just press
Enteron your keyboard!
The hangman is hung when you use up nine tries.
Submitbutton automatically becomes
New Gamewhen the game is over. You can press
Enterfor that also.