-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (75 loc) · 3.54 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<meta name="theme-color" content="#fafafa">
<script async custom-element="amp-auto-ads"
src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
</script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
</head>
<body>
<!--[if IE]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style>
.centerObject{
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}
.container {
display: flex;
justify-content: center;
align-items: center;
}
</style>
<!-- Add your site or application content here -->
<div class="card">
<h3 class="card-header"><i class="fas fa-dragon"></i>, THE GAME!</h3>
<div class="card-body">
<p class="card-text">by Gregory Ivo<br>Use Arrow Keys or Buttons to Control!</p>
<canvas id="gameCanvas" width="800" height="800" style="border:3px solid #000000;" class="centerObject" > </canvas>
<div class="centerObject" >
<div class="container">
<a href="#!" class="btn btn-primary" id="gameUP" align="middle" style="margin:2px; padding:20px;"><i class="fas fa-caret-up"></i></a>
</div>
<div class="container">
<a href="#!" class="btn btn-primary" id="gameLeft" style="margin:2px; padding:20px;"><i class="fas fa-caret-left"></i></a>
<a href="#!" class="btn btn-primary" id="gameDown" style="margin:2px; padding:20px;"><i class="fas fa-caret-down"></i></a>
<a href="#!" class="btn btn-primary" id="gameRight" style="margin:2px; padding:20px;"><i class="fas fa-caret-right"></i></a>
</div>
</div>
<div>
<a href="#!" class="btn btn-primary" id="startGame" >start game</a>
</div>
</div>
</div>
<script src="js/vendor/modernizr-3.7.1.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
ga('create', 'UA-XXXXX-Y', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
<!-- My additons-->
<script type="text/javascript" src="js/game/maingame.js"></script>
<amp-auto-ads type="adsense"
data-ad-client="ca-pub-2984324995206308">
</amp-auto-ads>
</body>
</html>