A Simple Hangman Game made with the Python Programming language as a part of our Python Programming Course’s Final Project. The project was made by the guidance of our instructor - Daksha mam.
The Project was made inspired based on the Classic Hangman Game. At the start of the game, the player is first introduced to a story about his current situation in the game. The player is kept in the captivation of antagonist where the player is made to play the game of hangman to free his life.
The game challenges the player to guess a word by guessing the letters of it. The player can make a maximum of six incorrect guesses. Each incorrect guess means a life lost. After six incorrect guesses, the player has the option either to replay or quit. If the player manages to guess the word before six incorrect guesses, the player wins the game
The project makes use of python programming language and its other features like - File Handling, Import/Export Modules, functions, String formating, Random module, Colorama module, etc. The project uses ASCII art for hangman characters and certain texts.
- To play the game you will have to install Python
- After installing it go ahead and open your Command Prompt(for Windows) or Terminal(MacOS/Linux)
To open your Command Prompt, Search
cmd
in your search bar, for Windows
Open the Dash by clicking the Ubuntu icon in the upper-left, type "terminal", and select the Terminal application from the results that appear, for Ubuntu
Click the Launchpad icon in the Dock, type Terminal in the search field, then click Terminal, for MacOS
-
Run
python hangman.py
command in the directory where you have cloned the Repository. -
Voila, Here's your Game. Enjoy!!