private void countScores() {
        
        for(int i = 0; i < scores.length; i++) {
            scores[i] = 0;
        }        
        for(int i = 0; i < getXSize(); i++) {
            for(int j = 0; j < getYSize(); j++) {
                if(map[i][j].owner != ServerGameMapCell.WITHOUT_OWNER_OPT
                && map[i][j].invader != ServerGameMapCell.WITHOUT_INVADER_OPT
                && map[i][j].invader != map[i][j].owner) {
                    System.out.println(map[i][j].invader + "-1)++");
                    scores[map[i][j].invader-1]++;
                }
            }
        }        

    }