Added attack method in BattleBot