-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (34 loc) · 1.13 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
<html lang="en">
<head>
<title>Snake JS</title>
<meta charset="utf-8" />
<link
href="http://fonts.googleapis.com/css?family=Poiret+One"
rel="stylesheet"
type="text/css"
/>
<link href="https://fonts.googleapis.com/css2?family=Baloo+Tammudu+2:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<h1>Snake JS</h1>
<div class="outer-container">
<div class="scores">
<span class="current">Current Score: <span class="score">0</span></span>
<span class="high">High Score: <span class="score">0</span></span>
</div>
<div class="snake-world-container">
<canvas></canvas>
<div class="message">Press to start</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/DrawUtil.js"></script>
<script src="js/SnakeWorldObject.js"></script>
<script src="js/SnakeFood.js"></script>
<script src="js/SnakeSection.js"></script>
<script src="js/Snake.js"></script>
<script src="js/SnakeGame.js"></script>
<script src="js/script.js"></script>
</body>
</html>