Added the fightLogic function and algorithm