-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhth.html
More file actions
171 lines (144 loc) · 6.42 KB
/
hth.html
File metadata and controls
171 lines (144 loc) · 6.42 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/hth_style.css">
<link rel="stylesheet" href="./css/all_style.css">
<link rel="shortcut icon" href="./meta/favicon.png" type="image/x-icon">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
integrity="sha512-uto9mlQzrs59VwILcLiRYeLKPPbS/bT71da/OEBYEwcdNUk8jYIy+D176RYoop1Da+f9mvkYrmj5MCLZWEtQuA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="//d3js.org/d3.v3.min.js"></script>
<title>Head to Head</title>
</head>
<body class="flex_centered" style="display: none;">
<style>
/* To add a local font */
@font-face {
font-family: kenyanCoffee;
src: url("./fonts/kenyan_coffee.ttf");
}
html {
/* Change name here */
/* font-family: "Arial", sans-serif; */
font-family: kenyanCoffee, sans-serif;
/* Change this to change scale across entire site */
font-size: 1.5em;
}
</style>
<button id="next_page_button" class="circle_button">
<div class="page_triangle next_page"></div>
</button>
<button id="prev_page_button" class="circle_button">
<div class="page_triangle prev_page"></div>
</button>
<section id="main_section">
<div id="board_container">
<div id="board">
<div data-step="0" class="step"></div>
<div data-step="1" class="step"></div>
<div data-step="2" class="step"></div>
<div data-step="3" class="step"></div>
<div data-step="4" class="step"></div>
<div data-step="5" class="step"></div>
<div data-step="6" class="step"></div>
</div>
</div>
<div id="name_container">
<p id="playerName" class="buzz_in player"> </p>
<p id="chaserName" class="buzz_in chaser"> </p>
</div>
<div id="main_section_content">
<div id="question_container">
<h2 id="question"> </h2>
</div>
<div id="answer_field_container">
<button class="answer_field" id="slot_a"> </button>
<button class="answer_field" id="slot_b"> </button>
<button class="answer_field" id="slot_c"> </button>
</div>
</div>
</section>
<!-- Disable background in background.js -->
<div id="bg_container"></div>
<script src="./js/all/background.js" defer></script>
<script src="./js/all/definitions.js" defer></script>
<script src="./js/all/suggestedAction.js" defer></script>
<script src="./js/all/sfx.js" defer></script>
<script src="./js/hth/hth_definitions.js" defer></script>
<script src="./js/hth/hth_display.js" defer></script>
<script src="./js/hth/hth_app.js" defer></script>
<script src="./js/hth/hth_events.js" defer></script>
<!-- comment/ delete from here to remove ? button -->
<!-- START -->
<button id="help_modal_button" class="circle_button">?</button>
<div id="help_modal_container" class="modal_container flex_centered">
<section id="help_modal" class="modal">
<div class="modal_title">
<h3>Key Bindings</h3>
<h6>Click <span id="help_modal_close" class="special_text">here</span> to close</h6>
</div>
<ul id="key_bindings_list"></ul>
</section>
</div>
<!-- END -->
<!-- comment/ delete from here to remove ... button -->
<!-- START -->
<button id="settings_modal_button" class="circle_button">...</button>
<div id="settings_modal_container" class="modal_container flex_centered">
<section id="settings_modal" class="modal">
<div class="modal_title">
<h3>Change Settings</h3>
<h6>Click <span id="settings_modal_close" class="special_text">here</span> to save and close</h6>
</div>
<ul id="settings_modal_list">
<li>
<p id="settings_playerName" class="buzz_in player">
<input type="text" id="settings_player_name" class="settings_input" autocomplete='off'>
</p>
</li>
<li>
<p id="settings_chaserName" class="buzz_in chaser">
<input type="text" id="settings_chaser_name" class="settings_input" autocomplete='off'>
</p>
</li>
</ul>
</section>
</div>
<!-- END -->
<p id="suggested_action"></p>
<script src="./js/all/help.js" defer></script>
<script src="./js/hth/hth_help.js" defer></script>
<div id="sfx_volume_sliders">
<label for="sfx_volume">SFX</label>
<input type="range" name="sfx_volume" id="sfx_volume" class="volume_slider" min="0" max="1" step="0.1">
<label for="bgm_volume">BGM</label>
<input type="range" name="bgm_volume" id="bgm_volume" class="volume_slider" min="0" max="1" step="0.1">
</div>
<div id="sfx">
<audio id="playerMove" preload="auto" src="./sounds/sfx/hth_PlayerMove.mp3"></audio>
<audio id="chaserMove" preload="auto" src="./sounds/sfx/hth_ChaserMove.mp3"></audio>
<audio id="chaserAnswer" preload="auto" src="./sounds/sfx/hth_ChaserAnswer.mp3"></audio>
<audio id="chaserBuzz" preload="auto" src="./sounds/sfx/hth_ChaserBuzz.mp3"></audio>
<audio id="correctAnswer" preload="auto" src="./sounds/sfx/hth_CorrectAnswer.mp3"></audio>
<audio id="playerAnswer" preload="auto" src="./sounds/sfx/hth_PlayerAnswer.mp3"></audio>
<audio id="playerBuzz" preload="auto" src="./sounds/sfx/hth_PlayerBuzz.mp3"></audio>
<audio id="questionShown" preload="auto" src="./sounds/sfx/hth_QuestionShown.mp3"></audio>
<audio id="timeUp" preload="auto" src="./sounds/sfx/hth_TimeUp.mp3"></audio>
<audio id="chaserVictory" preload="auto" src="./sounds/sfx/all_ChaserCatch.mp3"></audio>
<audio id="playerVictory" preload="auto" src="./sounds/sfx/all_playerWin.mp3"></audio>
</div>
<!-- all longer SFX -->
<div id="bgm">
<audio id="buzzCountdown" preload="auto" src="./sounds/bgm/hth_BuzzCountdown.mp3"></audio>
<audio id="chaserWalk" preload="auto" src="./sounds/bgm/all_ChaserWalkOn.mp3"></audio>
<audio id="theChaseIsOn" preload="auto" src="./sounds/bgm/all_TheChaseIsOn.mp3"></audio>
<audio id="caughtExit" preload="auto" src="./sounds/bgm/hth_CaughtExit.mp3"></audio>
<audio id="chaserReveal" preload="auto" loop src="./sounds/bgm/hth_ChaserReveal.mp3"></audio>
<audio id="theme" preload="auto" loop src="./sounds/bgm/hth_Theme.mp3"></audio>
</div>
</body>
</html>