Select Git revision
index.html 592 B
<!-- maybe slightly copied from herebefrog's -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
<style>
:root { color-scheme: light dark; }
body { display: flex; justify-content: center; align-items: center; height: 100vh;}
canvas, body {
margin: 0;
touch-action: none;
user-select: none;
}
canvas {
width: 100%;
max-height: 100vh;
object-fit: contain;
image-rendering: pixelated;
margin: auto;
}
</style>
<body>
<canvas id=c></canvas>
<script type="module" src=game.js></script>
</body>