Handle win condition.