31 lines
630 B
HTML
31 lines
630 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style>
|
|
html,
|
|
body,
|
|
canvas {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
background: black;
|
|
z-index: 0;
|
|
}
|
|
</style>
|
|
<title>My Game</title>
|
|
</head>
|
|
|
|
<body>
|
|
<canvas id="canvas" width="1280" height="720" cursor="auto"></canvas>
|
|
<script type="module">
|
|
import init from "./game.js"
|
|
init()
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|