This commit is contained in:
Doveliyuchen 2023-03-28 15:16:46 +08:00
parent fa6f873ac1
commit 5fd210157c
5 changed files with 40 additions and 32 deletions

View File

@ -179,7 +179,7 @@
</h1> </h1>
<br> <br>
<h3 id="question"> <h3 id="question">
Do you want to play another round? Do you want to play again from the second phase?
</h3> </h3>
<br> <br>
<button onclick="window.location.href = '/gameplay2';" class="cirButton">Yes</button> <button onclick="window.location.href = '/gameplay2';" class="cirButton">Yes</button>

View File

@ -376,8 +376,10 @@
Prefer not to say Prefer not to say
</label> </label>
<label> <label>
<input type="radio" class="option-input radio" name="gender" value="C"> <input type="radio" class="option-input radio" name="gender" value="D">
Not listed Other:
<input type="text" value="">
</label> </label>
</p> </p>

View File

@ -212,19 +212,24 @@
</nav> </nav>
<section style="background-color: rgba(255,255,255,0.5);"> <section style="background-color: rgb(255, 255, 255);">
<div class="container" style="font-weight: 600; <div class="container" style="font-weight: 600
background-color: rgba(255,255,255,0.7);"> ;">
<div class="row clearfix"> <div class="row clearfix" >
<!-- <style=" background-color: rgba(255,255,255);height: 130vh;
margin-top: -90px;"> -->
<div class="col-md-12"> <div class="col-md-12" style=" background-color: rgba(255,255,255);" >
<div align="center"> <div align="center">
<h3>Super Mario Bros Tutorial</h3> <h3>Super Mario Bros Tutorial</h3>
Before proceeding to the main part of the experiment please familiarize yourself with the game.<br> <p > Before proceeding to the main part of the experiment please familiarize yourself with the game.<br>
You may proceed to the next phase of this survey once you are ready! You may proceed to the next phase of this survey once you are ready!</p>
<br>
<b>Click <a onclick="replay()" href="#mask">ME</a> to show the instruction page again.</b>
<p class="alert">If the game is not responding to your keyboard, please click on the game screen.</p> <p class="alert">If the game is not responding to your keyboard, please click on the game screen.</p>
</div> </div>
@ -240,7 +245,7 @@
</div> </div>
</div> </div>
<div class="col-md-6" align="center" style="visibility: hidden;" id="next"> <div class="col-md-6" align="center" style="visibility: hidden;" id="next">
<br> <br>
@ -283,31 +288,32 @@
<h3>Play Game</h3> <h3>Play Game</h3>
</button> </button>
</div> </div>
<div id="countdown" <div id="countdown"
style="z-index:999; position:absolute; left:50px; bottom: 20px; color: #ffffff; font-size: xx-large; background-color: rgba(0, 0, 0, 0.3);"> style="z-index:999; position:absolute; left:50px; bottom: 20px; color: #ffffff; font-size: xx-large; ">
</div> </div>
<img style=" height: 90vh;bottom: 3.5vh; left: 0vw; <img style=" height: 90vh;bottom: 3.5vh; left: 0vw;
position: absolute;z-index: 900; visibility: visible; width: 100%;" src="../templates/Web/pic.png" position: absolute;z-index: 900; visibility: visible; width: 100%;" src="../templates/Web/pic.png"
id="windowshow"> id="windowshow">
<script> <script>
function countdown() { function countdown() {
var count = 10; // 设置倒计时秒数 // var count = 10; // 设置倒计时秒数
var timer = setInterval(function () { // var timer = setInterval(function () {
count--; // count--;
if (count <= 0) { // if (count <= 0) {
clearInterval(timer); // clearInterval(timer);
$("#countdown").hide(); // $("#countdown").hide();
$("#windowshow:visible").hide(); // 倒计时结束后隐藏倒计时容器 // $("#windowshow:visible").hide(); // 倒计时结束后隐藏倒计时容器
} else { // } else {
$("#countdown").html("This instruction will close in " + count + "s. <br>Or click to close."); // 更新倒计时容器内容 $("#countdown").html("Click to close."); // 更新倒计时容器内容
$("#windowshow").click(function () { $("#windowshow").click(function () {
$("#windowshow").hide(); $("#windowshow").hide();
$("#countdown").hide(); $("#countdown").hide();
}); });}
} // }
}, 1000); // }, 1000);
} // }
$(document).ready(function () { $(document).ready(function () {
countdown(); countdown();
@ -365,7 +371,6 @@
</div> </div>
<div id="mask" onclick="replay()"></div>
<script> <script>
function replay() { function replay() {
@ -383,7 +388,7 @@
<!-- Footer mx-auto --> <!-- Footer mx-auto -->
<footer class="py-5 bg-dark"> <footer class="py-5 bg-dark">
<div class="container"> <div class="container">
<div class="row clearfix"> <div class="row clearfix" >
<!-- <div class="col-md-2 column"> <!-- <div class="col-md-2 column">
<img class="img-fluid" alt="" src="../templates/Web/Wechat.png" style="width: 100px;"> <img class="img-fluid" alt="" src="../templates/Web/Wechat.png" style="width: 100px;">
</div> --> </div> -->

View File

@ -272,9 +272,10 @@
<li> This experiment has <b>three phases</b>. <li> This experiment has <b>three phases</b>.
<ol style="list-style-type: lower-roman;"> <ol style="list-style-type: lower-roman;">
<li>First you must answer <b>a questionnaire</b>. </li> <li>First you must answer <b>a questionnaire</b>. </li>
<li>Then you will complete a <b>short game tutorial</b>, play<b> 2 levels</b> of the game and answer a simple <li>Then you will complete a <b>short game tutorial</b>, play<b> 2 levels</b> of the game and answer a
question. You can <b>repeats</b> this phase as you like. </li> simple question. You will play<b> another 2 levels</b>. </li>
<li>Finally you will play <b>3 levels</b> and answer a simple question.</li> <li>Finally you will play <b>3 levels</b> and answer a simple question.</li>
<li>You can also replay the second phase after finishing the whole process.</li>
</ol> </ol>
<li>In total, the experiment takes approximately <b>15 minutes</b> to complete.</li> <li>In total, the experiment takes approximately <b>15 minutes</b> to complete.</li>
<li> Have Fun! <li> Have Fun!

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 KiB

After

Width:  |  Height:  |  Size: 336 KiB