This repository was archived by the owner on Jun 11, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsnake.html
More file actions
64 lines (55 loc) · 1.63 KB
/
Copy pathsnake.html
File metadata and controls
64 lines (55 loc) · 1.63 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mini World | Snake</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="snake.css" />
<link
href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" href="images/favicon.png" />
</head>
<body>
<header>
<div class="container">
<div id="branding">
<img src="./images/logo.png" alt="website logo" />
<h1>Mini World</h1>
</div>
<nav>
<span id="openbtn">≡</span>
</nav>
</div>
<div class="clear"></div>
<div id="overlay">
<span id="closebtn">×</span>
<ul id="overlay-list">
<li><a href="home.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="home.html#games">More Games</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</header>
<div class="clear"></div>
<section>
<h1>Snake</h1>
<hr />
<h4>Warning: An immediate U-turn may break its neck</h4>
</section>
<canvas id="snake" width="608" height="608"></canvas>
<div id="end-display">
<h1>Game Over</h1>
<h3 id="score"></h3>
<button id="replay-btn">Replay</button>
</div>
<footer>
<p>Mini World © 2020 by yewyewXD | All Rights Reserved</p>
</footer>
<script src="snake.js"></script>
<script src="global.js"></script>
</body>
</html>