summaryrefslogtreecommitdiff
path: root/rannak/mangud/partorg/sonaragastik/script.js
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-11-13 20:38:22 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-11-13 20:38:22 +0200
commita4894308d09fb826ea6323060be25f22a24ff9a4 (patch)
tree7ad997d31e918321929fc32f1f225ed27b33aacf /rannak/mangud/partorg/sonaragastik/script.js
parent9321cb50a7082ad28a7f50099a86122ec57d80b5 (diff)
sargiKujundus as Test
Diffstat (limited to 'rannak/mangud/partorg/sonaragastik/script.js')
-rw-r--r--rannak/mangud/partorg/sonaragastik/script.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rannak/mangud/partorg/sonaragastik/script.js b/rannak/mangud/partorg/sonaragastik/script.js
index ab5ebe4..af16488 100644
--- a/rannak/mangud/partorg/sonaragastik/script.js
+++ b/rannak/mangud/partorg/sonaragastik/script.js
@@ -34,7 +34,7 @@ function message(msg, color){
// Main stuff
-const vastused = ["valuuta", "tuusik", "tsaika", "redis", "plaanimajadnus",
+const vastused = ["valuuta", "tuusik", "tsaika", "redis", "plaanimajandus",
"rubla", "letialuneKaup", "talongid", "maantee",
"piiritsoon", "defitsiit"]
let õiged = new Array();
@@ -65,12 +65,13 @@ function proovi(){
hetkeKlass = ruut.classList[0];
}
+ console.log(hetkeKlass);
document.querySelector(".V"+hetkeKlass).classList.add("done");
if (!õiged.includes(hetkeKlass)) {
õiged.push(hetkeKlass);
õigedCounter++;
- console.log("DicoDisco GoodGood")
+ console.log(õigedCounter);
}
if (õigedCounter >= 11)
moveOnEnable();