Compare commits
No commits in common. "7a245d601a2484ba45ddf5a09f63df37acdf648b" and "10ea7a7f0bab0ff6abb2bba89d7cf40336124fbf" have entirely different histories.
7a245d601a
...
10ea7a7f0b
@ -37,6 +37,13 @@ $id = htmlspecialchars($_GET["grille"]);
|
|||||||
$grille = new Grille($hauteur, $largeur, $id);
|
$grille = new Grille($hauteur, $largeur, $id);
|
||||||
$grille->current();
|
$grille->current();
|
||||||
|
|
||||||
|
function melanger_valeurs(&$tableau)
|
||||||
|
{
|
||||||
|
usort($tableau, function ($a, $b) {
|
||||||
|
return mt_rand(-1, 1);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$definitions_horizontales = [];
|
$definitions_horizontales = [];
|
||||||
foreach ($grille->lignes as $y => $mots) {
|
foreach ($grille->lignes as $y => $mots) {
|
||||||
$definitions_horizontales[$y] = [];
|
$definitions_horizontales[$y] = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user