petits changements

This commit is contained in:
Adrien MALINGREY 2024-04-26 16:29:42 +02:00
parent 225a534a9f
commit 2b56234825
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ var nbLettres
var nbEssais var nbEssais
function nouvellePartie() { function nouvellePartie() {
nbEssais = 0 nbEssais = 0
motATrouver = motsATrouver[Math.floor(motsATrouver.length * Math.pow(Math.random(), 1.5))] motATrouver = motsATrouver[Math.floor(motsATrouver.length * Math.pow(Math.random(), 1.8))]
motATrouver = motATrouver.normalize("NFD").replace(/\p{Diacritic}/gu, "") motATrouver = motATrouver.normalize("NFD").replace(/\p{Diacritic}/gu, "")
listeATrouver = Array.from(motATrouver) listeATrouver = Array.from(motATrouver)
nbLettres = listeATrouver.length nbLettres = listeATrouver.length
@ -142,7 +142,7 @@ function onsubmit(event) {
} }
} }
var volumeOn var volumeOn = this.checked
volumeCheckbox.oninput = function(event) { volumeCheckbox.oninput = function(event) {
volumeOn = this.checked volumeOn = this.checked
} }

View File

@ -29,7 +29,7 @@ h1 img {
padding: 0.15em; padding: 0.15em;
text-align: center; text-align: center;
border-radius: 0.3rem; border-radius: 0.3rem;
vertical-align: center; vertical-align: text-top;
} }
.lettre-bien-placee { .lettre-bien-placee {