-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (67 loc) · 3.06 KB
/
Copy pathindex.html
File metadata and controls
73 lines (67 loc) · 3.06 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
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<head>
<title>Nebulas Snake</title>
<link rel="icon" type="favicon.ico" href="http://www.dog-crate-size.com/nebulassnake/css/images/favicon.ico">
<link rel=stylesheet id=style type=text/css href=./css/main-snake.css />
<div id="mode-wrapper">Select which mode you would like to play in.<br /><button id="Easy">Easy</button><br /><button id="Medium">Medium</button><br /><button id="Difficult">Difficult</button></div>
<button id="high-score">Get your current high score for this game.</button>
<script>
if (navigator.onLine && window.location.hostname != 0) {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2231174-13']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
</head>
<body>
<div id="game-area" tabindex="0">
</div>
<script src="https://cdn.jsdelivr.net/npm/nebulas@0.5.2/dist/nebulas.js"></script>
<script type="text/javascript" src="./js/snake.js"></script>
<script type="text/javascript">
var mySnakeBoard = new SNAKE.Board( {
boardContainer: "game-area",
fullScreen: true
});
</script>
</body>
</html>
=======
<!DOCTYPE html>
<head>
<title>Nebulas Snake</title>
<link rel="icon" type="favicon.ico" href="http://www.dog-crate-size.com/nebulassnake/css/images/favicon.ico">
<link rel=stylesheet id=style type=text/css href=./css/main-snake.css />
<div id="mode-wrapper">Select which mode you would like to play in.<br /><button id="Easy">Easy</button><br /><button id="Medium">Medium</button><br /><button id="Difficult">Difficult</button></div>
<button id="high-score">Get your current high score for this game.</button>
<script>
if (navigator.onLine && window.location.hostname != 0) {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2231174-13']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
</head>
<body>
<div id="game-area" tabindex="0">
</div>
<script src="https://cdn.jsdelivr.net/npm/nebulas@0.5.2/dist/nebulas.js"></script>
<script type="text/javascript" src="./js/snake.js"></script>
<script type="text/javascript">
var mySnakeBoard = new SNAKE.Board( {
boardContainer: "game-area",
fullScreen: true
});
</script>
</body>
</html>