BBIY/index.html

29 lines
740 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Centipede</title>
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<div style="text-align:center">
<div class="canvas-holder">
<canvas id="game-canvas" width="1000" height="1000"></canvas>
<div class="game-hud" id="hud">
<p>Hello, world!</p>
</div>
<div class="menu" style="display: none" id="menu">
</div>
</div>
</div>
<script>
const game = {
width: document.getElementById('game-canvas').width,
height: document.getElementById('game-canvas').height,
};
</script>
<script data-main = "src/bootstrap" src = "src/require.js"></script>
</body>
</html>