-
Notifications
You must be signed in to change notification settings - Fork 2
/
game.html
executable file
·85 lines (48 loc) · 1.69 KB
/
game.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
<!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">
<link href='http://fonts.googleapis.com/css?family=VT323' rel='stylesheet' />
<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">
<link rel="stylesheet" href="style.css">
<title>IronHack Arena</title>
</head>
<body>
<div class="row">
<div class="col-md-12">
<div id="splashScreen">
<div class="wrap">
<h1>Viking Smash</h1>
</div>
<button id="startButton" onclick="swapScreens();Start()">Start</button>
</div>
</div>
</div>
<div id="score">0</div>
<div class="ourRow">
<!-- <ul>
<h3>Controls</h3>
<li >Press A to move left </li>
<li >Press D to move right </li>
<li >Hold Shift to move faster</li>
<li>Press the SpaceBar to use lasers :o</li>
</ul> -->
<div class="Canvas">
<canvas id="game-board" width="1000" height="700" style="
align-self: center;">
Game Stuff</canvas>
<div id="end">
<ul class="a">
<li list-style-type="none">Highscore</li>
<li list-style-type="none">Johnny :41000</li>
<li>Your Score : <span>0</span></li>
</ul>
</div>
<button id="play-again" onclick="restart()">Play Again! c:</button>
</div>
</div>
<script type="text/javascript" src="script.js"></script>
</html>