diff --git a/index.php b/index.php index 4425c41..81ed182 100644 --- a/index.php +++ b/index.php @@ -37,13 +37,6 @@ $id = htmlspecialchars($_GET["grille"]); $grille = new Grille($hauteur, $largeur, $id); $grille->current(); -function melanger_valeurs(&$tableau) -{ - usort($tableau, function ($a, $b) { - return mt_rand(-1, 1); - }); -} - $definitions_horizontales = []; foreach ($grille->lignes as $y => $mots) { $definitions_horizontales[$y] = [];