Skip to main content

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

  1. The computer will choose the word, and you have to guess it

  2. 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!

  3. Instead of pressing submit on your window, you can just press Enter on your keyboard!

  4. The hangman is hung when you use up nine tries.

  5. The Submit button automatically becomes New Game when the game is over. You can press Enter for that also.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AaditsHangman-0.0.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

AaditsHangman-0.0.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for AaditsHangman-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c2554a33a9039d0cd1a1b9ec5bb96468094239a8ba3caf5cd9bedc226254716a
MD5 916db22bf5ec4caba5bde677018d165e
BLAKE2b-256 034e62b99a1392d775838e1a6a32d1c1f756474d1993f9269ab70f1300607488

See more details on using hashes here.

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

Hashes for AaditsHangman-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c23e3e1ec895a3d12402fccfb8335de829345af268f442099e224dba041b4611
MD5 7a7c9c3e812eac3a12a4947df511cdff
BLAKE2b-256 de7bbfc66b071a7dc276efab262d1d5755bb41377e0e3386e7dcbb1ce6c25d54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page