This commit is contained in:
Jeremy Kaplan 2026-08-11 13:39:58 -04:00
commit 9910fd5799
4 changed files with 572 additions and 20 deletions

View file

@ -8,16 +8,33 @@
display: flex;
align-items: center;
justify-content: center;
background-color: #aaaaaa;
background-color: #222222;
color: white;
}
canvas {
background-color: black;
}
.mono {
font-family: monospace;
}
</style>
<title>Pong</title>
<title>Breakout</title>
</head>
<script type="module">
import init from './breakout.js';
init();
</script>
<body>
<div>
<canvas id="breakout"></canvas>
<p style="text-align: center;">
Use
<span class="mono"></span>
<span class="mono"></span>
to move and
<span class="mono">Space</span>
to serve.
</p>
</div>
<script type="module">
import init from './breakout.js';
init();
</script>
</body>
</html>