-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 loc) · 1.38 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="">
<head>
<meta charset="utf-8" />
<title>Example Title</title>
<meta name="author" content="Your Name" />
<meta name="description" content="Example description" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="controls">
<label
>Grid Size
<input type="range" min="5" , max="10" value="6" id="gridSize" />
</label>
<div class="player">
<span class="player-num">Player 1</span>
<input type="color" value="#ff6666" id="p1Colour" />
<span class="score" id="p1Score">0</span>
<div class="turn" id="turn">●</div>
</div>
<div class="player">
<span class="player-num">Player 2</span>
<input type="color" value="#3CB371" id="p2Colour" />
<span class="score" id="p2Score">0</span>
</div>
</div>
<div class="play-area">
<canvas>Canvas not supported by browser</canvas>
</div>
<script type="text/javascript" src="scripts.js"></script>
<script src="node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
</body>
</html>