From ba42f9bac75a411c7f08947846e8e5763ef2e385 Mon Sep 17 00:00:00 2001 From: ElGurkus Date: Tue, 3 Nov 2020 10:43:25 +0100 Subject: [PATCH] changed code -> Tiny formatting change Mainly just testing pushing from home --- .idea/JS-Game.iml | 12 ++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 +++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ code.js | 3 ++- 5 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .idea/JS-Game.iml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/JS-Game.iml b/.idea/JS-Game.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/JS-Game.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..eee1610 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/code.js b/code.js index 831fe13..0f8d643 100644 --- a/code.js +++ b/code.js @@ -1,9 +1,10 @@ let fieldId = 0; +let somethingIsSelected = false; + for(let i = 0; i < 64; i++){ fieldId = i.toString(); document.getElementById("field"+fieldId).selected = 0; } -let somethingIsSelected = false; function selectField(field){ console.log(field.id); for(let i = 0; i < 64; i++){