public int getCouleur() {
        Random r = new Random();
        int t1 = r.nextInt(6);
        switch (t1) {
            case 0:
                return 0;
            case 1:
                return 0;
            case 2:
                return 1;
            case 3:
                return 1;
            case 4:
                return 2;
            case 5:
                return 3;
            default:
                return getCouleur();
        }
    }