orbit/index.html

35 lines
773 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Orbit</title>
<style>
html, body {
margin: 0;
padding: 0;
height: 100%;
background: #04060d;
overflow: hidden;
}
#game {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#game canvas {
display: block;
}
</style>
<!-- Vendored Phaser (UMD build, sets window.Phaser). See lib/PHASER_LICENSE.md -->
<script src="lib/phaser.min.js"></script>
</head>
<body>
<div id="game"></div>
<!-- App code is plain ES6 modules -->
<script type="module" src="js/main.js"></script>
</body>
</html>