-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
44 lines (44 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Breakout</title>
<link rel="stylesheet" type="text/css" href="lib/bootstrap-3.3.7-dist/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h1 class="header-text">Just another breakout clone</h1>
<h4 class="header-text">Made by
<a href="https://github.com/robinzigmond/" target="_blank">Robin Zigmond</a> in Javascript.</h4>
</div>
</div>
<div class="row">
<div class="col-sm-12" id="canvas-container">
<canvas id="canvas" width="1000" height="500"></canvas>
</div>
</div>
<div class="row" id="controls">
<div class="col-sm-3">
<button class="btn btn-small btn-info" onclick="helpText()">How to play</button>
</div>
<div class="col-sm-3">
<button class="btn btn-small btn-primary" id="start" onclick="startGame()">Start game!</button>
</div>
<div class="col-sm-3">
<button class="btn btn-small btn-warning" id="stop" onclick="quit()" disabled=true>Quit</button>
</div>
<div class="col-sm-3">
<p>Level: <strong id="level"></strong> of <strong id="num-levels"></strong></p>
</div>
</div>
</div>
<script src="lib/jquery-3.2.1.min.js"></script>
<script src="lib/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script src="lib/bootbox.min.js"></script>
<script src="levels.js"></script>
<script src="breakout.js"></script>
</body>
</html>