Updated win and lose condition

The Lose condition now resets the game completely.
There is now a win condition.