31 lines
622 B
HTML
31 lines
622 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Mapgen demo</title>
|
||
|
<style>
|
||
|
body {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
#fps {
|
||
|
white-space: pre;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<button id="play-pause"></button>
|
||
|
<div id="fps"></div>
|
||
|
<canvas id="game-of-life-canvas"></canvas>
|
||
|
<script src='./index.js'></script>
|
||
|
</body>
|
||
|
</html>
|