Si je lance l'application en mettant 2 joeurs artificiel, le jeu démarre mais il bloque à cause d'un NullPointerException aprés un certain temps. :
public Resultat MinMaxProf(Jeu j, Color cc, Color cj, int prof)
{
  System.out.println("MinMax, profondeur "+prof);
  if(prof==0) return (new Resultat(null, f.eval(cj, j)));
  if (j.partieFinie()) return (new Resultat(null, j.aGagne(cc)));
  else
  {
    double min =2, max=-2;
    EnsPosition ep = j.positionsJouables(cj);
    Position p = null;
    prof--;
    for(int a=0;a<ep.getNb();a++)
    {
      Jeu j1 = (Jeu) j.clone();
      j1.jouerPosition(ep.ieme(a),cj);
      double m = MinMaxProf(j1, cc, j1.adverse(cj),prof).val;
      if(m>max)
      {
        max = m;
        p = ep.ieme(a);
      }
      min = Math.min(min,m);
    }
    if(cc.equals(cj)) return( new Resultat(p,max));
    else return( new Resultat(null,min));
     
     
 }
}
Est ce quelqu'un peut m'aider

 !
 ...
 C'est juste la sensibilisation INFO : c'est juste une note !