Skip to content

joshdewhurst/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Hangman

This is a simple Hangman game implemented in Python. The game chooses a random word from a predefined list of words, and the player has to guess the word by entering one letter at a time. The player has six guesses, and if they fail to guess the word within those six guesses, they lose the game.

Installation

To run the Hangman game on your computer, you need to have Python 3.x installed. You can download the latest version of Python from the official website: https://www.python.org/downloads/

To download the source code for the game from GitHub, you can use the following command in your terminal/command prompt:

git clone https://github.com/joshdewhurst/Hangman.git This will create a new directory named Hangman in your current directory, containing the source code for the game.

Usage

To run the Hangman game, navigate to the hangman directory using your terminal/command prompt, and run the following command:

python hangman.py

This will start the game, and you can follow the on-screen instructions to play the game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages