diff options
author | Joris | 2020-01-28 09:55:58 +0100 |
---|---|---|
committer | Joris | 2020-01-29 10:12:31 +0100 |
commit | 1b6a7e0d00703e3da2e1620b5a2b2cba027161de (patch) | |
tree | 5143f784e1529d3b6c04116c84f09c426bb257b0 /public/index.html | |
parent | 197b6fa7aa810147d63209408c3a378ec552d0f4 (diff) |
Implement game of life
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..ed2639f --- /dev/null +++ b/public/index.html @@ -0,0 +1,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> |