From 71a52925f4876c11fae711d619095d0d36d35932 Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 23 Apr 2023 20:58:31 +0200 Subject: [PATCH] B2B END message --- app.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app.js b/app.js index d973d0c..36e66d6 100644 --- a/app.js +++ b/app.js @@ -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 }