anchor.diff:    List<List<int>> attackTerritory(Territory ter) {
       List<List<int>> ret = new List();
       if (neighbours.containsValue(ter)) {
  -      var _random = new Math.Random(); 
  -      int myMax=0;
  -      int hisMax=0;
  +      var _random = new Math.Random();
  +      int myMax = 0;
  +      int hisMax = 0;
         int temp;
  -      List<int> myList=new List();
  -      List<int> hisList=new List();
  -      for(int i=0;i<dies;i++){
  -        temp = 1+ _random.nextInt(5);
  -        myMax+=temp;
  +      List<int> myList = new List();
  +      List<int> hisList = new List();
  +      for (int i = 0; i < dies; i++) {
  +        temp = 1 + _random.nextInt(5);
  +        myMax += temp;
           myList.add(temp);
         }
  -      for(int i=0;i<ter.dies;i++){
  -        temp = 1+ _random.nextInt(5);
  -        hisMax+=temp;
  +      for (int i = 0; i < ter.dies; i++) {
  +        temp = 1 + _random.nextInt(5);
  +        hisMax += temp;
           hisList.add(temp);
         }
  -      if(myMax>hisMax){
  +      if (myMax > hisMax) {
           ter.ownerRef.territories.remove(ter);
  -        ter.owner=owner;
  -        ter.ownerRef=ownerRef;
  +        ter.owner = owner;
  +        ter.ownerRef = ownerRef;
           ownerRef.territories.add(ter);
  -        ter.dies=dies-1;
  -        dies=1;
  -      }
  -      else{
  -        dies=1;
  +        ter.dies = dies - 1;
  +        dies = 1;
  +      } else {
  +        dies = 1;
         }
         ret.add(myList);
         ret.add(hisList);
  
positive.code:   */
    }
    nextPlayer() {
      currentPlayer.resupply(); //give this player the right amount of dies on random fields
      for (int i = 0; i < players.length; i++) {
        if (players[i].id == currentPlayer.id) {
          currentPlayer = players[i + 1];
  
negative.code:     players = new List<Player>();
      players.add(new Human('#human'));
      players.add(new Whitefield('#whitefield'));
      int aggressiveAIs = int.parse(level.children[3].text);
      int defensiveAIs = int.parse(level.children[4].text);
      int smartAIs = int.parse(level.children[5].text);
  
      for (int i = 1; i < int.parse(level.children[2].text); i++) {
        if (aggressiveAIs > 0) {
          players.add(new Ai_agg('#cpu' + i.toString()));
          aggressiveAIs--;
        } else if (defensiveAIs > 0) {
          players.add(new Ai_deff('#cpu' + i.toString()));
          defensiveAIs--;
        } else if (smartAIs > 0) {
          players.add(new Ai_smart('#cpu' + i.toString()));
          smartAIs--;
        }
      }
      playercount = players.length - 1;
      //--------------------Build Arena--------------------------
      this._arena = new Arena(xSize, ySize, int.parse(level.children[2].text), int.parse(level.children[6].text),int.parse(level.children[0].text));
  
      int order = players.length - int.parse(level.children[1].text);
       if (order == players.length) {
         order = 0;
       }
      currentPlayer = players[0];
      /* int onTurn = 0;
      while(players.length>2){
  