~starkingdoms/starkingdoms

ref: ea95cf279b1c21687826debb5db825fa057e6d3b starkingdoms/starkingdoms-client/index.html -rw-r--r-- 900 bytes
ea95cf27 — core new rendering infrastructure beginnings 11 months ago
                                                                                
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
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
  <head>
    <title>StarKingdoms.TK</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />

    <style>
        html, body {
            overflow: hidden;
            margin: 0;
            padding: 0;
            height: 100%;
            width: 100%;
        }

        canvas {
            margin-right: auto;
            margin-left: auto;
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
  </head>
  <body>
    <script type="module">
      import init from './pkg/starkingdoms_client.js';
      async function run() {
        await init();
      }
      window.addEventListener('load', run);
    </script>
  </body>
</html>