40 lines
717 B
HTML
40 lines
717 B
HTML
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #222222;
|
|
color: white;
|
|
}
|
|
canvas {
|
|
background-color: black;
|
|
}
|
|
.mono {
|
|
font-family: monospace;
|
|
}
|
|
</style>
|
|
<title>Breakout</title>
|
|
</head>
|
|
<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>
|