Coders Packet

Hangman Game using Python

By K. Adarsh

A simple Python project which can play the hangman game with the help of Tkinter GUI.

Requirements

1.Python3

2.Tkinter

Tkinter is the standard GUI library for Python. 

Firstly, this Python program selects a random word from a list of words and asks the user to input a character of his choice through the Tkinter GUI. If the user input character is present in the word the GUI displays the position of that character in the word. Similarly, it takes count if the user input character is not present in the word and the user is given 5 such chances, after which the GUI collapses. Furthermore, the GUI takes only one character at a time for the obvious reasons and it also reports the absence of character if not provided by the user.

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by K. Adarsh (adharshdas)

Download packets of source code on Coders Packet