-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (45 loc) · 2.02 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
<!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>Lightspeed Racer</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel='stylesheet' href='./app/assets/stylesheets/game.css'/>
</head>
<body>
<div class='title'>Lightspeed Racer</div>
<div class="info-container">
<div class='controls'>Controls: <br>
Use "a" to move left. Use "d" to move right. <br>Press "enter" to begin/pause
<div class='full-screen'>This game is experienced best in full screen!!</div>
<div class="instructions">Watch out for obstacles and collect as many coins as you can!
<div class="instructions">The more coins you collect, the faster the game gets!</div>
<img class="coin-photo" src="./app/assets/coin.png">
<div class="links-container">
<a class='links' target='_blank' href="https://github.com/Brent1LT/LightSpeed-Racer">
<i class="fa fa-github"></i> Github
</a>
<a class='links' target='_blank' href="https://www.linkedin.com/in/brent-bumann/">
<i class="fa fa-linkedin-square"></i> LinkedIn
</a>
</div>
</div>
</div>
<div id='game-container' class='game-container'>
<i id='mute' class="fas fa-volume-mute mute muted"></i>
<canvas id='game-canvas' ></canvas>
<div id="gameover" class="gameover"></div>
</div>
</div>
<div class="score">Coins: 0</div>
<audio id='audio' loop play >
<source src='./app/assets/Din Radetinac - Earthquake.mp3' >
</audio>
<script type="application/javascript" src="./vendor/keymaster.js"></script>
<script src="./bundle.js"></script>
</body>
</html>