public synchronized void maj(String action) {
        if (!mep) {
            switch (action) {
                case "B":
                    descendrePiece();
                    if(pieceCourante.isBloque())
                    {
                        int nb_lignes = grille.effacerLigne();
                        CalculScore(nb_lignes);
                    }
                    break;
                case "G":
                    deplacerGauche();
                    break;

                case "D":
                    deplacerDroite();
                    break;
                case "H":
                    rotationPiece();
                    break;
                case "Space":
                    chutePiece();
                    break;
                case "Hold":
                    hold();
                    break;
                case "RAZ":
                    remiseAZero();
                    break;
            }
            notifyObserver(grille);
        }
    }