This commit is contained in:
Suvodip
2024-06-24 19:15:56 +05:30
parent 5c233bafa6
commit cf51757537
28 changed files with 257 additions and 132 deletions

View File

@@ -545,11 +545,11 @@ import Layout from '../../layouts/Layout.astro';
// console.log(counter)
}
const match = blockMatches.find((m) => m.blockName === blockName && m.targetName === targetName);
console.log(match)
// console.log(match)
if(match !== undefined){
scoreTotal++;
resultView = this.add.text(window.innerWidth / 2 - 100, window.innerHeight / 2 - 100, `Your Score: ${scoreTotal}`, {font: `24px`, fill: `#7c4c23`}).setVisible(false);
console.log("Score Total", scoreTotal)
// console.log("Score Total", scoreTotal)
}
if(counter === 8){
// console.log(counter)