From ae56daf8997c32b99fbd04c3adb2a4a4cd0fd6e9 Mon Sep 17 00:00:00 2001 From: Ianick Noejovich Date: Tue, 16 Apr 2024 12:54:46 -0300 Subject: [PATCH] make mobile ready and fix logic issues --- .idea/.gitignore | 8 ---- .idea/earcoach.iml | 4 +- .idea/jsLibraryMappings.xml | 2 +- .idea/modules.xml | 2 +- .idea/vcs.xml | 2 +- .idea/workspace.xml | 65 +++++++++++++++++++++++++++++++ harmoniccontext/index.html | 76 ++++++++++++++++++++++--------------- harmoniccontext/index.js | 2 +- index.html | 5 ++- 9 files changed, 119 insertions(+), 47 deletions(-) delete mode 100644 .idea/.gitignore create mode 100644 .idea/workspace.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/earcoach.iml b/.idea/earcoach.iml index 8d6822b..2844a13 100644 --- a/.idea/earcoach.iml +++ b/.idea/earcoach.iml @@ -4,10 +4,8 @@ - + - - \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml index c414bcb..bbf5627 100644 --- a/.idea/jsLibraryMappings.xml +++ b/.idea/jsLibraryMappings.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 813fd62..ce27a4c 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..700a00d --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1713280580846 + + + + + + \ No newline at end of file diff --git a/harmoniccontext/index.html b/harmoniccontext/index.html index 72e9826..b935c78 100644 --- a/harmoniccontext/index.html +++ b/harmoniccontext/index.html @@ -1,6 +1,9 @@ + + + Contexto Armónico - - Contexto Armónico
@@ -40,37 +64,29 @@
by iakanoe
-
-
-
-

Contexto Armónico

- Puntaje: 0 de 0 -
+
+
+

Contexto Armónico

+ Puntaje: 0 de 0
-
-
-
-
Tonalidad:
-

F

-
+
+
+
Tonalidad:
+

F

-
+
-
Veces escuchado: 0
+
Veces escuchado: 0
-
-
-
- - - - - - - -
-
+
+ + + + + + +
diff --git a/harmoniccontext/index.js b/harmoniccontext/index.js index a9a5843..43cc4b8 100644 --- a/harmoniccontext/index.js +++ b/harmoniccontext/index.js @@ -61,7 +61,7 @@ function resetChallenge() { key = random(C, B) grade = random(0, 6) exampleOctave = random(3, 4) - octave = random(Math.min(exampleOctave - 1, 3), exampleOctave + 1) + octave = random(Math.max(exampleOctave - 1, 3), Math.min(exampleOctave + 1, 5)) timesPlayed = 0 resetButtons() diff --git a/index.html b/index.html index 73b5ea2..3c885e4 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,14 @@ + + + INA2 Coach - - INA2 Coach