diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-03-27 02:17:26 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-03-27 02:17:26 -0600 |
commit | 4cabba2561f55ee6d068d631e3272ff7bf984b37 (patch) | |
tree | 1635ee664fa16287ec9058657afe5608df6d99a2 /index.html | |
download | bbiy-4cabba2561f55ee6d068d631e3272ff7bf984b37.tar.gz bbiy-4cabba2561f55ee6d068d631e3272ff7bf984b37.zip |
Initial commit - a working dynamic loader with Express
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 0000000..9fdf822 --- /dev/null +++ b/index.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Centipede</title> + <link rel="stylesheet" href="styles/style.css"> + </head> + + <body> + <div style="text-align:center"> + <div class="canvas-holder"> + <canvas id="game-canvas" width="1000" height="1000"></canvas> + <div class="game-hud" id="hud"> + <p>Hello, world!</p> + </div> + <div class="menu" style="display: none" id="menu"> + </div> + </div> + </div> + + <script> + const game = { + width: document.getElementById('game-canvas').width, + height: document.getElementById('game-canvas').height, + }; + </script> + + <script data-main = "src/bootstrap" src = "src/require.js"></script> + </body> +</html>
\ No newline at end of file |