-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="main.css" />
<link
rel="preload"
href="spritesheet.json"
as="fetch"
type="application/json"
crossorigin="anonymous" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.8.0/p5.js"
integrity="sha512-bzpp8klYroR6PFgL3RJ+VkvY5hJna7Zd38OA56peUDHSNQpSiN9lDQVnMYtcw7hoAVhbR6mAOdH+ymzg1o+G0A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<script
defer
src="https://api.artomweb.com/stats/script.js"
data-website-id="6f814518-aef1-45f0-82df-a0315510b065"></script>
<title>Dobble</title>
</head>
<body>
<div id="container">
<div id="sketch"></div>
<div id="incorrectMessage" class="hide">Incorrect</div>
<button
class="button-52"
role="button"
onClick="startGame()"
data-umami-event="Start Game">
Start Game
</button>
<div id="timeSelector">
<div class="timeMode" onClick="changeTimeMode(30)">30</div>
<div class="timeMode active" onClick="changeTimeMode(60)">60</div>
<div class="timeMode" onClick="changeTimeMode(120)">120</div>
</div>
<div id="scores"></div>
</div>
</body>
<script src="game.js"></script>
<script src="main.js"></script>
</html>