Added proper victory conditions.