From 31123fc3322ea2748dd98443c286a7fa310bc1ea Mon Sep 17 00:00:00 2001 From: adrien Date: Tue, 7 Nov 2023 23:53:46 +0100 Subject: [PATCH] rename QUATUOR --- app.js | 10 +++++----- index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app.js b/app.js index fc2f56b..7ad7a51 100644 --- a/app.js +++ b/app.js @@ -30,7 +30,7 @@ const CLEARED_LINES_NAMES = [ "SOLO", "DUO", "TRIO", - "QUATRIS", + "QUATUOR", ] const DELAY = { @@ -485,7 +485,7 @@ class Settings { this.form.onsubmit = newGame levelInput.name = "startLevel" levelInput.disabled = false - titleHeader.innerHTML = "QUATRIS" + titleHeader.innerHTML = "QUATUOR" resumeButton.innerHTML = "Jouer" } @@ -553,7 +553,7 @@ class Stats { this.startTime = new Date() this.lockDelay = DELAY.LOCK this.totalClearedLines = 0 - this.nbQuatris = 0 + this.nbQuatuors = 0 this.nbTSpin = 0 this.maxCombo = 0 this.maxB2B = 0 @@ -635,7 +635,7 @@ class Stats { lockDown(nbClearedLines, tSpin) { this.totalClearedLines += nbClearedLines - if (nbClearedLines == 4) this.nbQuatris++ + if (nbClearedLines == 4) this.nbQuatuors++ if (tSpin == T_SPIN.T_SPIN) this.nbTSpin++ // Cleared lines & T-Spin @@ -725,7 +725,7 @@ class Stats { statsModalTimeCell.innerText = this.timeFormat.format(time) statsModaltotalClearedLines.innerText = this.totalClearedLines statsModaltotalClearedLinesPM.innerText = (stats.totalClearedLines * 60000 / time).toFixed(2) - statsModalNbQuatris.innerText = this.nbQuatris + statsModalNbQuatuors.innerText = this.nbQuatuors statsModalNbTSpin.innerText = this.nbTSpin statsModalMaxCombo.innerText = this.maxCombo statsModalMaxB2B.innerText = this.maxB2B diff --git a/index.html b/index.html index 9059d60..42187ef 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - QUATRIS + QUATUOR @@ -26,7 +26,7 @@