LR-99: Battle Engine v1

You do bring up a very important point here though.

I want to implement something of the form: 
if player._hp == 0:
    print "Gandalf bails you out."
    return out of battle_engine.battle(player)

Currently you cannot do this because a return would only get you out of monsterAttackPhase(). I am looking for a way to get out of battle(player) completely. 

Thanks for catching this. Do you have any ideas?