Skip to content

hamimp/hangman325

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Hangman

Table of Contents

  1. Description
  2. Installation Instructions
  3. Usage Instructions
  4. File Structure
  5. License Information

Description

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.

In this programme the game chooses the name of a fruit randomly from a list of fruits and asks the player to guess a letter. If the letter is present in the name of the fruit then the player will be informed of their guess to be correct. Otherwise, it will tell the player that the guessed letter is incorrect and to try again. There are a set number of lives which will be deducted each time an incorrect guess is made by the player. If the player is able to guess all the letters while the have enough lives left, then they will win the game

Installation Instructions

  1. To install this programme clone the the repository on your local device by running git clone https://github.com/hamimp/hangman325.git on the trminal

  2. Libraries to isntall:

  • random

Usage Instructions

To play the game, prompt into the hangman325\hangman directory on the terminal and run python milestone_5.py. If the commadn doesn't work then try python3 milestone_5.py

File Structure

License Information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages