-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (47 loc) · 1.89 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
<!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">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<title>Nokia Snake Clone</title>
</head>
<body>
<h1>Nokia Snake Clone</h1>
<div id="nokia">
<div class="col1">
</div>
<div class="col2">
<div id="gameboard"></div>
</div>
<div class="col3">
<div class="scoring">
<h4 class="scoreHeading" id="scoreHeading">Score:</h4>
<div id="scores" class="displayScore">
<div class="playerSection">
<p id="playerScore">0</p>
</div>
</div>
</div>
<div class="popup-alert"><button id="newGame">New Game</button></div>
<div class="btn-controls">
<div class="btn-col1">
<div class="btn"><button id="left">left</button></div>
</div>
<div class="btn-col2">
<div class="btn"><button id="up">up</button></div>
<div class="btn"><button id="down">down</button></div>
</div>
<div class="btn-col3">
<div class="btn"><button id="right">right</button></div>
</div>
</div>
</div>
</div>
<script src="./input.js" defer type="module"></script>
<script src="./snake.js" defer type="module"></script>
<script src="./game.js" defer type="module"></script>
</body>
</html>