From 145d28a8e4923f1c33adf0aebd931f473cbf54fd Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 8 Jan 2024 11:13:20 +0900 Subject: [PATCH] refactor(frontend): extract game engine from vue component --- .../frontend/src/pages/drop-and-fusion.vue | 401 +----------------- .../src/scripts/drop-and-fusion-engine.ts | 396 +++++++++++++++++ 2 files changed, 409 insertions(+), 388 deletions(-) create mode 100644 packages/frontend/src/scripts/drop-and-fusion-engine.ts diff --git a/packages/frontend/src/pages/drop-and-fusion.vue b/packages/frontend/src/pages/drop-and-fusion.vue index 482ee7e00..1daf9ddc6 100644 --- a/packages/frontend/src/pages/drop-and-fusion.vue +++ b/packages/frontend/src/pages/drop-and-fusion.vue @@ -117,12 +117,9 @@ SPDX-License-Identifier: AGPL-3.0-only