/
index.html
52 lines (47 loc) · 2.48 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=600, user-scalable=0" />
<meta property="og:image" content="https://img0.etsystatic.com/030/1/8408931/il_fullxfull.570650610_gbv1.jpg"/>
<meta property="og:description" content="Recreating the classic Nokia snake game with a twist. Can you blow up the Death Star?" />
<title>STAR WARS X SNAKE</title>
<link rel="icon" type="image/svg" href="img/browser_icon.png">
<link rel="stylesheet" href="starWarsStyle.css">
<script src="js/jquery-1.12.4.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Londrina+Solid' rel='stylesheet' type='text/css'>
<script src="js/jquery.event.move.js"></script>
<script src="js/jquery.event.swipe.js"></script>
<script src="app-starwars.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-79422188-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<h1>SNOKE</h1>
<!-- Adding github "star" and "follow" buttons -->
<div class="flexbox">
<div class="flexchild-10">
<h3 class="flexchild-10">Enjoyed the game? Give it a star!</h3><br>
<h3 class="flexchild-10">Score: <span id="score"></span></h3>
</div>
<div class="flexchild-1">
<a class="github-button" href="https://github.com/davified/snake-game" data-icon="octicon-star" data-style="mega" data-count-href="/davified/snake-game/stargazers" data-count-api="/repos/davified/snake-game#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star davified/snake-game on GitHub">Star</a>
</div>
</div>
<!-- app.js appends things here-->
<div class="container"><div id="blackbox"></div></div>
<h2>Choose your fate:</h2>
<div id="options">
<button><a href='basic-version/index.html'>Classic</a></button>
<button><a href='index.html'>Star Wars</a></button>
</div>
<iframe class="audioplayer" src="https://embed.spotify.com/?uri=spotify:track:1eI4J5hTSG9uYutPaxoUnk" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>
</body>
</html>