Algo Added Scoring System for Pigs' Attacks