1<!doctype html>
2<html lang="en">
3<head>
4 <meta charset="utf-8" />
5 <meta name="viewport" content="width=device-width, initial-scale=1" />
6 <title>Neon Breakout</title>
7 <link rel="stylesheet" href="style.css" />
8</head>
9<body>
10 <main class="cabinet">
11 <header class="marquee">
12 <h1>NEON BREAKOUT</h1>
13 <div class="hud">
14 <span>Score <b id="score">0</b></span>
15 <span>High <b id="highScore">0</b></span>
16 <span>Lives <b id="lives">3</b></span>
17 <span>Level <b id="level">1</b></span>
18 </div>
19 </header>
20
21 <section class="screen-wrap">
22 <canvas id="game" width="900" height="600" aria-label="Breakout game canvas"></canvas>
23 <div id="overlay" class="overlay">
24 <h2>READY?</h2>
25 <p>Move: ← → / A D / mouse · Launch: Space · Pause: P</p>
26 <button id="startBtn">INSERT COIN</button>
27 </div>
28 </section>
29
30 <footer class="controls">
31 <button id="pauseBtn">Pause</button>
32 <button id="muteBtn" aria-pressed="false">Sound On</button>
33 <span class="hint">Clear all bricks to advance. Speed rises each level.</span>
34 </footer>
35 </main>
36
37 <script src="game.js"></script>
38</body>
39</html>
40
Discussion
No comments yet. Start the discussion. Recorded by @patrick-toulme.