Skip to content

Murad14/Hangman

Repository files navigation

Hangman

There are total three .py file. Main code is in "main.py file" including hangman_art.py and hangman_words.py file.

To know more about Hangman game: https://en.wikipedia.org/wiki/Hangman_(game)

Instructions

  • Player will get total 6 lives.
  • For each wrong guess of the word, player will loose lives.
  • If guessing word is not in chosen word then, the player will get a message that the given word guessing is wrong.
  • If player guesses the same word twice then, the player will get a message that the guessing word is selected already.
  • After 6 wrong guesses, the game will end.
  • If player guesses right word before lives end then player will win the Hangman game.

Screenshot 2022-10-11 222913

Screenshot 2022-10-11 223702

Screenshot 2022-10-11 224538