repl.it
@spybrave/

BREAKOUT

HTML, CSS, JS

atari breakout remade for javascript

fork
loading
Files
  • index.html
  • index.js
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Breakout!</title>
    <style>
      * {margin: 0; padding: 0}
      .fullscreen {
        height: 100%;  
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        width:100%;
      }
    </style>
  </head>
  <body>
    <canvas id="breakout" class="fullscreen">Oops! Something went wrong!</canvas>
    <script src="index.js"></script>
  </body>
</html>
result
console