summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-02 16:04:13 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-02 16:04:13 -0600
commit5a55b5fa0c678ff03842d2adec8543e754546718 (patch)
tree4f615829acc10045d81a9d553c757a14792bf81a /index.html
parent4d34b0b4b890e957030fbf6e3c8e1d4a02d2a627 (diff)
downloadbbiy-5a55b5fa0c678ff03842d2adec8543e754546718.tar.gz
bbiy-5a55b5fa0c678ff03842d2adec8543e754546718.zip
Grid system & simple physics
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.html b/index.html
index e7d2a14..dfaff35 100644
--- a/index.html
+++ b/index.html
@@ -19,8 +19,10 @@
<script>
const game = {
- width: document.getElementById('game-canvas').width,
- height: document.getElementById('game-canvas').height,
+ canvas: {
+ width: document.getElementById('game-canvas').width,
+ height: document.getElementById('game-canvas').height,
+ }
};
</script>