New win lose

This isn't done yet but I just wanted to put a pull request up here so that you can more easily look at everything.