Compare commits
2 Commits
10ea7a7f0b
...
7a245d601a
Author | SHA1 | Date | |
---|---|---|---|
7a245d601a | |||
e1eb7685e4 |
@ -37,13 +37,6 @@ $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