B2B END message

This commit is contained in:
Adrien MALINGREY 2023-04-23 20:58:31 +02:00
parent 33ba4ad0b9
commit 71a52925f4

7
app.js
View File

@ -528,6 +528,13 @@ class Stats {
this.score += b2bScore
}
} else if (nbClearedLines && !tSpin ) {
if (this.b2b >= 1) {
messagesSpan.addNewChild("div", {
className: "zoom-in-animation",
style: "animation-delay: .4s",
innerHTML: `BACK TO BACK END`
})
}
this.b2b = -1
}