public void reset() {
        readFile();
        int i = 0;
        for (Tank t : players) {
            if (t.getColor() == 0) {
                t.setX(GameServer.posTeam1[0]);
                t.setY(GameServer.posTeam1[1]);
            } else {
                t.setX(GameServer.posTeam2[0]);
                t.setY(GameServer.posTeam2[1]);
            }
            i++;
        }
    }