Fixed win and loose conditions, hopefully :)