Winning condition now works, sort of