n'afficher que les définitions de la case

This commit is contained in:
2025-05-01 14:06:44 +02:00
parent 92306e2a2a
commit c8ecb504ef
5 changed files with 266 additions and 226 deletions

View File

@ -35,6 +35,9 @@ foreach ($dico as $mot => $definition) {
$mots_de_n_lettres[$n] = [];
}
$mots_de_n_lettres[$n][] = $mot;
if (!empty($definitions)) {
$dico[$mot] = [$definitions[array_rand($definitions)]];
}
}
function mots_espaces($longueur)