diff options
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 |