From 07360c32f63030a210a798c52bbab2aeedad9f84 Mon Sep 17 00:00:00 2001 From: Doveliyuchen Date: Tue, 7 Mar 2023 10:35:36 +0800 Subject: [PATCH] Debug, update the display, add instructions --- templates/GameAnnotation.html | 506 +++++++++++++++------------- templates/GameAnnotation2.html | 509 +++++++++++++++------------- templates/GameOver.html | 201 ++++++----- templates/GamePlay.html | 152 ++++++--- templates/GameQuestion.html | 597 ++++++++++++++++++--------------- templates/GameTutorial.html | 183 ++++++---- templates/GameWelcome.html | 315 +++++++++-------- 7 files changed, 1373 insertions(+), 1090 deletions(-) diff --git a/templates/GameAnnotation.html b/templates/GameAnnotation.html index 10b2128..d0f9e3b 100644 --- a/templates/GameAnnotation.html +++ b/templates/GameAnnotation.html @@ -1,14 +1,16 @@ - - - + + + + - - + + @@ -19,7 +21,7 @@ - + @@ -27,9 +29,9 @@ @@ -189,17 +199,41 @@
-

Click "Q" to stop replay and quit

-
+

Click "Q" to stop replay and quit

+
- + + -
-
-{# #} -
-
+
+
+ {# #} +
+
-
-

Level A

-

Drag Picture To Move

-
- +
+

Level A

+

Drag Picture To Move

+
+ +
+ +

+ + +
+
+ +
+

Level B

+

Drag Picture To Move

+ +
+ +
+ +

+ + +
- -

- -
-
- -
-

Level B

-

Drag Picture To Move

- -
- -
- -

- - -
-
-
+ function isEmpty(name) { + var elements = document.getElementsByName(name) + for (var i = 0; i < elements.length; i++) { //遍历Radio + if (elements[i].checked) { + return 0; + } + } + return 1; + } + -

+

Which level was more fun to play?


-
-
-
+ +
+
- - -
-
+
+
- - + -
+
- - -

- - - - + + -

-
- +

+
-
-
-
+ + +
+
@@ -398,14 +432,14 @@ function Replay(id){ -
+


Copyright © Jialin Liu

- +
- + @@ -417,8 +451,10 @@ function Replay(id){ - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/templates/GameAnnotation2.html b/templates/GameAnnotation2.html index 412ba8f..8336705 100644 --- a/templates/GameAnnotation2.html +++ b/templates/GameAnnotation2.html @@ -1,13 +1,18 @@ - + + + + + - - + + - + @@ -18,13 +23,14 @@ - + - - + + + @@ -138,16 +150,41 @@
-

Click "Q" to stop replay and quit

-
+

Click "Q" to stop replay and quit

+
+
- + + -
-
- -
-
- -
-

Level A

-

Drag Picture To Move

-
- +
+
+ - -

+
+
- -
+
+

Level A

+

Drag Picture To Move

+
+ +
+ +

+ + +
-
-

Level B

-

Drag Picture To Move

+
+

Level B

+

Drag Picture To Move

-
- +
+ +
+ +

+ + +
+ +
+

Level C

+

Drag Picture To Move

+ +
+ +
+ +

+ + +
- -

- -
-
-

Level C

-

Drag Picture To Move

- -
- -
- -

- - -
-
-
- -

+

Please rank the above levels in terms of "fun" (from highest to lowest)

-

[Please drag and drop the boxes below to your favourite ranking]

+

[Please drag and drop the boxes below to your favourite ranking]


-
-
- Level A - -
-
- Level B - -
-
- Level C - -
+
+
+ Level A + +
+
+ Level B + +
+
+ Level C + +
-
+
- + //['443', '3v3', '3vq'] [c,k,r] + function postOrder() { + slist = s.toArray(); + console.log(slist) + result = [] + for (i = 0; i < 3; i++) { + if (slist[i] === '3fx') { + result[i] = "c" + } else if (slist[i] === '3fy') { + result[i] = "k" + } else if (slist[i] === '3fz') { + result[i] = "r" + } else { + console.log("you have change the name, dont you?") + } + } + post(window.location.href + "/result", result) + } +
- -
+ +
-
+ @@ -359,14 +396,14 @@ function Replay(id){
-
+


Copyright © Jialin Liu

- +
-
+
@@ -378,8 +415,10 @@ function Replay(id){ - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/templates/GameOver.html b/templates/GameOver.html index 43b8386..16c72ce 100644 --- a/templates/GameOver.html +++ b/templates/GameOver.html @@ -1,9 +1,14 @@ - + + + + + - + @@ -14,7 +19,7 @@ - + @@ -23,9 +28,9 @@ - + - -
+ } else { + fini.style.visibility = "hidden"; + } + } + + +
-

- Thank You For Playing!!! -

-
-

- Do you want to play another round? -

- - -
+

+ Thank You For Playing!!! +

+
+

+ Do you want to play another round? +

+ + +
- -
-
+ +
@@ -206,14 +237,14 @@
-
+


Copyright © Jialin Liu

- +
-
+
@@ -225,8 +256,10 @@ - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/templates/GamePlay.html b/templates/GamePlay.html index 2f85f81..9112e7c 100644 --- a/templates/GamePlay.html +++ b/templates/GamePlay.html @@ -1,6 +1,11 @@ - + + + + + @@ -23,7 +28,8 @@ - +