This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hangman(): | |
def __init__(self): | |
print "Welcome to 'Hangman', are you ready to die?" | |
print "(1)Yes, for I am already dead.\n(2)No, get me outta here!" | |
user_choice_1 = raw_input("->") | |
if user_choice_1 == '1': | |
print "Loading nooses, murderers, rapists, thiefs, lunatics..." | |
self.start_game() | |
elif user_choice_1 == '2': |