lea modif

This commit is contained in:
Blavignac Leonardo 2022-12-06 17:28:05 +01:00
parent 3892d91019
commit 9c7c253ef1

View file

@ -52,13 +52,12 @@ function Supprimer() {
}
function Enter() {
if (free_box[1]==5 && free_box[0]!=6) {
verifLettres(word);
word="";
}
if (verifWord() && free_box[0]!=6) {
write_result(verifLettres(word));
free_box[0]+=1;
free_box[1]=1;
word="";
}
}
function verifLettres(aWord) {