def load(name): #name must be a string
    global cont
    '''unpickles context from named file'''
    gamefile = open("psg"+name, 'r')
    cont = pickle.load(gamefile)
    gamefile.close()
    turnaction.rungame(cont)
def run():
    '''runs the game'''
    global cont
    turnaction.rungame(cont)