gestion problème de génération

This commit is contained in:
2025-04-28 18:33:14 +02:00
parent 50872aef31
commit 2445bfcf54
5 changed files with 84 additions and 67 deletions

View File

@ -38,7 +38,6 @@ class Grille {
mt_srand();
$this->grilles = $this->generateur();
$this->grilles->current();
}
public function get_ligne($l, $largeur) {
@ -133,6 +132,14 @@ class Grille {
}
}
public function current() {
return $this->grilles->current();
}
public function valid() {
return $this->grilles->valid();
}
public function hash() {
$string = "";
foreach ($this->grille as $ligne) {