https://github.com/sameem97/hangman84
https://github.com/sameem97/hangman84
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sameem97/hangman84
- Owner: sameem97
- Created: 2023-12-03T18:29:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T19:35:10.000Z (over 2 years ago)
- Last Synced: 2025-02-08T03:39:16.359Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
Hangman is a classic game in which a player thinks of a word and the other player tries to guess that word within a certain amount of attempts.
This is an implementation of the Hangman game, where the computer randomly chooses a word from a list of words and the user tries to guess it.
## File structure
env_vars module contains variables required for the game. tests directory are for automated unittesting. The main functionality of the game is in the hangman module.
## Play Instructions
To play the game, first you need to clone the repo using the url. Then, edit the word_list in env.vars to present a selection for the computer. And lastly,to play the game, in the terminal type:
*python3 hangman.py*