Python Hangman Game
Creator: IgnacioPrados
Key Technologies used: Python
Using Python
python hangman.py
- Guess the word given letter by letter. If you run out of opportunities you lose.
- You can edit the posible words array by editing the
hangman_guessing.py
file.
_
| |
| |___ __ _ __ __ __ _ _____ __ ___
| _ | / _ | | _ \ / _ | /_ _ \ / _\ | _ \
| | | | | (_| |_ | | | | | (_| | | | | | | | (_| |_ | | | |
|_| |_| \______| |_| |_| \___ | |_| | |_| \______| |_| |_|
__/ |
|___/
The word you guessed is banana.
Guess a letter: a
_ a _ a _ a
________
| \|
|
|
|
|
=========
Guess a letter: b
b a _ a _ a
________
| \|
|
|
|
|
=========
Guess a letter: g
You guessed g, this letter is not in the word, You lose a try.
b a _ a _ a
________
| \|
O |
|
|
=========
Guess a letter: h
You guessed h, this letter is not in the word, You lose a try.
b a _ a _ a
________
| \|
O |
| |
|
|
=========
Guess a letter: j
You guessed j, this letter is not in the word, You lose a try.
b a _ a _ a
________
| \|
O |
|\ |
|
|
=========
Guess a letter: u
You guessed u, this letter is not in the word, You lose a try.
b a _ a _ a
________
| \|
O |
/|\ |
|
|
=========
Guess a letter: y
You guessed y, this letter is not in the word, You lose a try.
b a _ a _ a
________
| \|
O |
/|\ |
\ |
|
=========
Guess a letter: n
b a n a n a
You are a winner, Congratulations.
________
| \|
O |
/|\ |
\ |
|
=========
© 2021 Made by IgnacioPrados