aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
blob: ed2639f80fe65efa6a8a92687f69e91bc18f054b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
  <head>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
    <style>
      body {
        margin: 0;
        width: 100%;
        height: 100%;
        background-color: #333333;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    </style>
  </head>
  <body>
    <canvas id="canvas" height="800" width="800" />
    <script type="module">
      import init from './game_of_life.js';

      async function run() {
        await init();
      }

      run();
    </script>
  </body>
</html>