-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.42 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Breakout!</title>
<link href="https://fonts.googleapis.com/css?family=Orbitron:400,900" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet"/>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<header><h1>BREAKOUT</h1></header>
<div id='container'>
<canvas id="canvas" width="520" height="500"></canvas>
<div id='scoreboard'></div>
<div id="level-up">LEVEL UP</div>
<div id="life-lost">MAN DOWN</div>
<div id="final-score">
<p id="game-over">GAME OVER</p>
<p id="new-game">Click to start a new game</p>
</div>
<section class="instructions">
<h2>Welcome to Breakout</h2>
<h3>How to Play</h3>
<h4>You have 3 lives to complete your mission, BREAK DEM BRICKS!</h4>
<ol>
<li>Press Spacebar to launch the ball off the paddle.</li>
<li>Break bricks to score points.</li>
<li>Don't let ball get passed the paddle, it'll cost you 1 life.</li>
<li>Break all the bricks to pass the level</li>
<li>Each level, the speed of the ball increases and the length of the paddle decreases</li>
<li>See how far you can go!!!</li>
</ol>
</section>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="main.bundle.js"></script>
</body>
</html>