win condition now implemented