An open API service indexing awesome lists of open source software.

https://github.com/sameem97/hangman84


https://github.com/sameem97/hangman84

Last synced: over 1 year ago
JSON representation

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*