added attack & defend scores to return values in attack.php