2016-02-23 17:46:32 -05:00

25 lines
702 B
Python

class View:
def get_name(self):
print('\033c')
print('Welcome to the Monty Hall Problem!')
return input('Please enter your name: ')
def display_doors(self):
print('\033c')
print('Doors: [ 1 ] [ 2 ] [ 3 ]')
return input('Select door: ')
def host_twist(self, message):
print('The host will revel where one goat is...')
print(message)
print('Would you like to change your selection? [n/y]')
return input('[n]: ')
def out_come(self, message):
print('You {}!!!'.format(message))
return input('Play again?[y]')
if __name__ == '__main__':
print('Please opne controller.py')
exit()