selecting teams, active players and doing attacks added