From 7149e0352ffa08f75dd028c1b10026bac3454f6b Mon Sep 17 00:00:00 2001 From: sanchit0610004 Date: Thu, 9 May 2024 01:39:42 +0530 Subject: [PATCH] new change --- supportScript.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/supportScript.js b/supportScript.js index 9674127..6a0e727 100644 --- a/supportScript.js +++ b/supportScript.js @@ -6,6 +6,7 @@ let classTitle; let colour; let colarr; let crr = []; +let flag=0; export function Movement(){ console.log(posPiece); ID=this.id; @@ -25,6 +26,7 @@ console.log(colarr[1]); if(colarr[1]=="semirico" || colarr[1]=="rico") { rotation.classList.add("rico"); + flag=1; } if(colarr[1]=="CANON") { @@ -109,6 +111,10 @@ for (let i=0;i