adds battle count and until player array empty condition