-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
310 lines (292 loc) · 14.5 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Playtest Data Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<script src="js/data.js"></script>
<script src="js/charts.js"></script>
<style>
:root {
--primary-color: #026447;
--primary-light: #038C60;
--primary-lighter: #33b351;
--background-color: #f8fafb;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: var(--background-color);
}
.header-subtitle {
color: #ffffff;
font-weight: 300;
letter-spacing: 0.05em;
}
.photo-placeholder {
background-color: #f3f4f6;
border-radius: 12px;
height: 200px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-light);
border: 1px dashed var(--primary-lighter);
margin: 1.5rem 0;
}
section {
background: white;
border-radius: 16px;
padding: 2.5rem;
margin-bottom: 2.5rem;
box-shadow: 0 4px 6px rgba(2, 100, 71, 0.1);
}
.chart-section {
background: white;
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 2px 4px rgba(2, 100, 71, 0.05);
}
h1, h2, h3 {
font-family: 'Montserrat', sans-serif;
}
</style>
</head>
<body class="bg-gray-100"><br><br>
<center><h1 class="text-2xl font-bold text-[#026447] mb-6">Capital & The Other Playtest Data Dashboard</h1></center>
<center><a href="https://sites.google.com/aiddata.wm.edu/capital-and-the-other/home" style="display: inline-block; padding: 10px 20px; background-color: #026447; color: white; text-decoration: none; border-radius: 4px;">
Project Website
</a></center>
<div class="container mx-auto px-4 py-8">
<!-- Demographics Section -->
<section id="demographics" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Player Demographics</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Participant Distribution</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="demographicsChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Major Distribution</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="majorChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Game Format Section -->
<section id="gameFormat" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Game Format and Component Effectiveness</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Component Effectiveness</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="componentEffectivenessChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Component Quality</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="componentQualityChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Game Mechanics Section -->
<section id="gameMechanics" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Game Mechanics and Dynamics</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Rule Clarity</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="ruleClarityChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Profile Comprehension</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="profileComprehensionChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Player Experience Section -->
<section id="playerExperience" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Player Experience</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Engagement Levels</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="engagementChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Most Engaging Aspects</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="engagingAspectsChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Learning Assessment Section -->
<section id="learning" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Learning Assessment</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Understanding by Concept</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="understandingChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Learning Preferences</h3><br>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="learningPreferencesChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Educational Impact Section -->
<section id="educationalImpact" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Educational Impact</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Learning Outcomes</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="learningOutcomesChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Effective Components</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="effectiveComponentsChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Format Preferences Section -->
<section id="formatPreferences" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Format Preferences</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Preferred Game Formats</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="formatPreferencesChart"></canvas>
</div>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Implementation Context</h3>
<div class="chart-container">
<div class="chart-wrapper">
<canvas id="implementationContextChart"></canvas>
</div>
</div>
</div>
</div>
</section>
<!-- Recommendations Section -->
<section id="playerExperience" class="mb-12">
<h2 class="text-2xl font-bold text-[#026447] mb-6">Recommendations</h2><br>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Recommendations by Type</h3>
<div class="chart-container">
<canvas id="recommendationsByTypeChart"></canvas>
</div>
</div>
<div class="chart-section">
<h3 class="text-lg font-semibold text-[#026447] mb-4">Priority Matrix</h3>
<div class="chart-container">
<canvas id="priorityMatrixChart"></canvas>
</div>
</div>
</div>
<div class="recommendation-dropdown">
<button class="dropdown-button bg-white w-full text-left px-6 py-4 rounded-lg shadow-sm flex justify-between items-center">
<span class="text-lg font-semibold text-[#026447] flex items-center">
<span class="w-2 h-6 bg-[#026447] mr-3 rounded-sm"></span>
Game Design
</span>
<svg class="w-6 h-6 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
</svg>
</button>
<div class="dropdown-content hidden bg-white mt-2 rounded-lg p-6 shadow-sm" id="gameDesignList"></div>
</div>
<div class="recommendation-dropdown">
<button class="dropdown-button bg-white w-full text-left px-6 py-4 rounded-lg shadow-sm flex justify-between items-center">
<span class="text-lg font-semibold text-[#026447] flex items-center">
<span class="w-2 h-6 bg-[#026447] mr-3 rounded-sm"></span>
Game Mechanics
</span>
<svg class="w-6 h-6 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
</svg>
</button>
<div class="dropdown-content hidden bg-white mt-2 rounded-lg p-6 shadow-sm" id="gameMechanicsList"></div>
</div>
<div class="recommendation-dropdown">
<button class="dropdown-button bg-white w-full text-left px-6 py-4 rounded-lg shadow-sm flex justify-between items-center">
<span class="text-lg font-semibold text-[#026447] flex items-center">
<span class="w-2 h-6 bg-[#026447] mr-3 rounded-sm"></span>
Educational Integration
</span>
<svg class="w-6 h-6 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
</svg>
</button>
<div class="dropdown-content hidden bg-white mt-2 rounded-lg p-6 shadow-sm" id="educationalList"></div>
</div>
<div class="recommendation-dropdown">
<button class="dropdown-button bg-white w-full text-left px-6 py-4 rounded-lg shadow-sm flex justify-between items-center">
<span class="text-lg font-semibold text-[#026447] flex items-center">
<span class="w-2 h-6 bg-[#026447] mr-3 rounded-sm"></span>
Implementation Suggestions
</span>
<svg class="w-6 h-6 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
</svg>
</button>
<div class="dropdown-content hidden bg-white mt-2 rounded-lg p-6 shadow-sm" id="implementationList"></div>
</div>
</div>
</div>
</div> <!-- Recommendations will be populated by JavaScript -->
</div>
</section>
</div>
</body>
</html>