moria/index.html

46 lines
992 B
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>moria</title>
<meta name="description" content="idk, small lil game without many mechanics" />
<style>
body {
background: linear-gradient(135deg,
white 0%,
white 49%,
black 49%,
black 51%,
white 51%,
white 100%);
background-repeat: repeat;
background-size: 20px 20px;
display: flex;
flex-direction: column;
}
h1, p {
margin: 0;
}
canvas, p, h1 {
background-color: white;
}
</style>
</head>
<script type="module">
import init from './moria.js';
init();
</script>
<body>
<h1>moria</h1>
<p>
controls: <strong>WASD</strong> - movement, <strong>Mouse click</strong> - move lights
</p>
</body>
</html>