Add lose condition
Merge pull request #9 from Ryan-Cooper/master

Add lose condition