forked from JustynaWiniarska/game-time
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·33 lines (31 loc) · 1.11 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Game Time</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Just+Me+Again+Down+Here" rel="stylesheet">
<link rel="stylesheet" href="./game.css">
</head>
<body>
<h1>Burrito <span class="breakout-text">Breakout</span> 🤙🏽</h1>
<section id="scores">
<h3>Score: <span class="score">0</span></h3>
<h3>Lives: <span class="lives"></span></h3>
<h3>Level: <span class="level">1</span></h3>
</section>
<canvas id="game" width="600" height="500"></canvas>
<section id="instructions">
<button id="start-new-game">Start New Game</button>
<h2>Instructions:</h2>
<ul>
<li>Use the mouse to move the yung paddle</li>
<li>The ball will bounce off of the yung paddle</li>
<li>Don't let the ball hit the ground fam!</li>
<li>The ball will bounce off and destroy blocks (sick!)</li>
<li>Destroy all the blocks to win (it's gonna be so lit)</li>
</ul>
</section>
<script src="main.bundle.js"></script>
</body>
</html>