game-engine/index.html

48 lines
896 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Evolver</title>
<style>
html,
body {
margin: 0;
height: 100%;
width: 100%;
}
#game {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
}
canvas {
background-color: #fbf7f3;
border: 1px solid black;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
button {
margin: 5px;
}
</style>
</head>
<body>
<div id="game">
<div id="controls">
<button id="debug">Debug</button>
</div>
<canvas></canvas>
</div>
<script
type="module"
src="src/index.js"
></script>
</body>
</html>