-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
37 lines (37 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>NetWalk</title>
<meta name="description" content="NetWalk game JS implementation.">
<link rel="shortcut icon" href="img/icon.png" type="image/png">
<link rel="canonical" href="https://a13ks3y.github.io/netwalk/">
<link rel="manifest" href="/netwalk/manifest.webmanifest" crossorigin="use-credentials">
<style type="text/css">
body {
position: absolute;
padding: 0;
margin: 0;
background: #000;
width: 100%;
height: 100%;
}
canvas {
display: block;
margin: auto;
}
</style>
</head>
<body>
<script type="text/javascript" src="item.class.js"></script>
<script type="text/javascript" src="field.class.js"></script>
<script type="text/javascript" src="index.js"></script>
<script>
if (navigator.serviceWorker) {
navigator.serviceWorker.register('/netwalk/sw.js', {scope: '/netwalk/'});
}
</script>
</body>
</html>