-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (37 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Snake Game</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="contents">
<span class="score">Score: 0</span>
<span id="js_timer">
<p id="timer">Timer : 0.00</p>
</span>
<span id="sq1"></span>
<span id="sq2"></span>
<span id="sq3"></span>
<span class="high_score">High Score: 0</span>
</div>
<div class="wrapper">
<div class="snake_board"><div id="sq11"><div id="sq22"><div id="sq33"></div></div>
</div>
<!--<div class="controls">
<i class="fa-solid fa-arrow-left-long"></i>
<i class="fa-solid fa-arrow-up-long"></i>
<i class="fa-solid fa-arrow-down-long"></i>
<i class="fa-solid fa-arrow-right-long"></i>
</div>-->
<button type="button">Left</button>
<button type="button">Up</button>
<button type="button">Down</button>
<button type="button">Right</button>
<script src="snake.js", defer> </script>
</body>
</html>