Skip to content

shiv-shekhar/Hangman-Game-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This is a simple Hangman game using Python programming language.The Hangman program randomly selects a secret word from a list of secret words. The random module will provide this ability, so line 1 in program imports it.The Game: Here, a random word (a fruit name) is picked up from our collection and the player gets limited chances to win the game.When a letter in that word is guessed correctly, that letter position in the word is made visible. In this way, all letters of the word are to be guessed before all the chances are over.For convenience, we have given length of word + 2 chances. For example, word to be guessed is mango, then user gets 5 + 2 = 7 chances, as mango is a five letter word.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages