-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.html
33 lines (33 loc) · 1.13 KB
/
snake.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
<!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, initial-scale=1.0">
<title>Snake Game</title>
<link rel="shortcut icon" href="img/snake_favi.png" type="image/x-icon">
<link rel="stylesheet" href="css/snake.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<a href="index.html"><div id="backbtn"></div></a>
<div id="heading">SNAKE</div>
<center><p id="score">Score: 0</p><center></center>
<div id="console">
<div id="head"></div>
<div id="food"></div>
<div id="pausebtn"></div>
<div id="retry"></div>
</div>
<div class="console_foot">
<div class="items">Controls: W A S D</div>
<div class="items">Play/Pause: Spacebar</div>
<div class="items">Created By: Alan Ansari</div>
</div>
<!-- LINKED EXTERNAL JS -->
<script src="js/snake.js">
</script>
</body>
</html>