Created a hangman game!
Focuses: - Modules - Traversing lists - Loops Art and words from course.
This commit is contained in:
parent
88ad0f92ce
commit
4e885cb919
3 changed files with 334 additions and 0 deletions
69
Day 7/hangman_art.py
Normal file
69
Day 7/hangman_art.py
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
stages = ['''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
/|\ |
|
||||
/ \ |
|
||||
|
|
||||
=========
|
||||
''', '''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
/|\ |
|
||||
/ |
|
||||
|
|
||||
=========
|
||||
''', '''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
/|\ |
|
||||
|
|
||||
|
|
||||
=========
|
||||
''', '''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
/| |
|
||||
|
|
||||
|
|
||||
=========''', '''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
| |
|
||||
|
|
||||
|
|
||||
=========
|
||||
''', '''
|
||||
+---+
|
||||
| |
|
||||
O |
|
||||
|
|
||||
|
|
||||
|
|
||||
=========
|
||||
''', '''
|
||||
+---+
|
||||
| |
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
=========
|
||||
''']
|
||||
|
||||
logo = '''
|
||||
_
|
||||
| |
|
||||
| |__ __ _ _ __ __ _ _ __ ___ __ _ _ __
|
||||
| '_ \ / _` | '_ \ / _` | '_ ` _ \ / _` | '_ \
|
||||
| | | | (_| | | | | (_| | | | | | | (_| | | | |
|
||||
|_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_|
|
||||
__/ |
|
||||
|___/ '''
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue