def main():
    game = {}
    with open('house.json') as json_file:
        game = json.load(json_file)
    current = 'START'
    quit = False
    while (not quit):
        render(game, current)
        response = getInput()
        current = update(response, game, current)
        if (response == 'QUIT'):
            quit = True
def main():
    game = {}
    with open('house.json') as json_file:
        game = json.load(json_file)
    current = 'START'
    quit = False
    while (not quit):
        render(game, current)
        response = getInput()
        current = update(response, game, current)
        if (response == 'QUIT'):
            quit = True