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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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