|
1 | | -# Package/Script Name |
| 1 | +# Hangman Game |
2 | 2 |
|
3 | | -- `pip install time` |
4 | | - There is a popular time module available in Python which provides functions for working with times, and for converting between representations. |
| 3 | +Create a List of secret words and randomly pick a word. Now represent each word as _ and give user chances to guess the word if the user guesses the word right then replace _ with the word. |
5 | 4 |
|
6 | | - ### Hint: Create a List of secret words and randomly pick a word. Now represent each word as _ and give user chances to guess the word if the user guesses the word right then replace _ with the word. |
7 | | - |
8 | | - |
9 | | - ## Setup Instruction |
| 5 | +## Setup Instruction |
10 | 6 |
|
11 | 7 | first install time package in your system open your terminal and write `pip install time` this will install time module in your system and random module is already install in python by itself so don't waste your time. Now make file `program.py` or whatever your choice and write program from program.py file and run it.
|
12 | 8 |
|
13 | | -# Output |
| 9 | +Make sure you have installed the **necessary packages** listed in **`requirements.txt`**, then simply run **`program.py`**. |
| 10 | + |
| 11 | +# Screenshots |
14 | 12 | [Output](https://github.com/Ayush7614/Amazing-Python-Scripts/blob/master/Hangman%20Game/Output.pdf)
|
15 | 13 |
|
0 commit comments