A hangman game created on tkinter python
Project description
Installation
Install AaditsHangman
with 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
Enter
on your keyboard! -
The hangman is hung when you use up nine tries.
-
The
Submit
button automatically becomesNew Game
when the game is over. You can pressEnter
for that also.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file AaditsHangman-0.0.4.tar.gz
.
File metadata
- Download URL: AaditsHangman-0.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2554a33a9039d0cd1a1b9ec5bb96468094239a8ba3caf5cd9bedc226254716a |
|
MD5 | 916db22bf5ec4caba5bde677018d165e |
|
BLAKE2b-256 | 034e62b99a1392d775838e1a6a32d1c1f756474d1993f9269ab70f1300607488 |
File details
Details for the file AaditsHangman-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: AaditsHangman-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c23e3e1ec895a3d12402fccfb8335de829345af268f442099e224dba041b4611 |
|
MD5 | 7a7c9c3e812eac3a12a4947df511cdff |
|
BLAKE2b-256 | de7bbfc66b071a7dc276efab262d1d5755bb41377e0e3386e7dcbb1ce6c25d54 |