forked from Jesper-Hustad/NoPixel-minigame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (80 loc) · 3.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hacking minigame</title>
<link rel="icon" type="image/png" href="favicon-32x32.png"/>
<!-- load font -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap" rel="stylesheet">
<!-- measure page views -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7E64QM2WXT"></script>
<!-- local css and js -->
<link rel="stylesheet" href="style.css">
<script type="module" src="src/script.js" defer></script>
</head>
<body>
<div class="bg">
<div class="center screen-square">
<div class="center text-container", id="text-container">
<img src="assets/spy-icon.png" class="spy-icon">
<h3 class="loading-text" id="loading-text"><span class="capital">E</span>STABLISHING CONNECTION</h3>
</div>
<div class="number-container hidden" id="number-container"></div>
<div class="answer-section hidden">
<div class="answer-countdown">
<div class="answer-progress-bar"></div>
</div>
<div class="answer-question">
</div>
<div class="answer-box">
<div class="answer-box-description">Answer</div>
<div class="answer-input-area">
<img src="assets/spy-icon.png" class="answer-input-icon">
<input class="answer-input" placeholder="blue square">
</div>
</div>
</div>
<div class="try-again hidden">
<button id="try-again-button">Try again</button><br><br><br>
<div class="try-again-hint"><span id="submitted-reveal"></span> answer was: "<span id="answer-reveal"></span>" </div><br>
<div class="try-again-hint">Too fast? Practice by changing the puzzle time!</div>
</div>
</div>
<div class='speed-control'>
<input type="range" id="speed-control" name="speed-control" min="5" max="30" value="7">
<label class="speed-label" for="speed-control">Puzzle time: <span class="time-display">7</span></label>
</div>
<div class='puzzle-control'>
<input type="range" id="puzzle-control" name="puzzle-control" min="3" max="6" value="4">
<label class="puzzle-label" for="puzzle-control">Puzzle Amount: <span class="puzzle-display">4</span></label>
</div>
<button id="help-on" class="question-button">?</button>
<a href="https://github.com/Jesper-Hustad/NoPixel-minigame">
<button class="github-link">GitHub</button>
</a>
<div class="credits">Jesper Hustad (aka. Snacksy)</div>
</div>
<div id="overlay">
<div id="text">
<h1>Hack minigame explained</h1>
<hr>
<p>
This is a logical reasoning test where you need to quickly connect the words, colors, and shapes.
<br><br>
You will be given the numbers one to four in a random order,
then you have seven seconds to answer two questions.
<br><br>
<img class="tutorial-image" src="assets/tutorial/numbers.jpg"><br>
<br><br>
See here how the numbers are connect to the images giving us the answer square orange.<br><br>
<img class="tutorial-image" src="assets/tutorial/puzzle.jpg">
<h2>Tip:</h2>
Using the slider at the bottom of the page you can change the puzzle time.<br>
You can use this to practice and increase the speed when you get the hang of it.
</p>
</div>
</div>
</body>
</html>