From 11c2b12fbb991d935823ddbccbe3315d7658f785 Mon Sep 17 00:00:00 2001 From: booboosui Date: Mon, 30 Oct 2023 17:49:37 +0800 Subject: [PATCH] init game --- game.js | 2 ++ index.html | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 game.js create mode 100644 index.html diff --git a/game.js b/game.js new file mode 100644 index 0000000..38c0905 --- /dev/null +++ b/game.js @@ -0,0 +1,2 @@ +const canvas = document.getElementById('game-board'); +const ctx = canvas.getContext('2d'); diff --git a/index.html b/index.html new file mode 100644 index 0000000..0a0006e --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + + + 网页游戏 - Generated by KuaFuAI + + + + + +
Generated by KuaFuAI
+ + +