refactor(game): split game.js into sfx, pages, online and workshop modules (P4-5)

Modules are classic-script factories RC.Game<Part>(G); G gives live access to the shared state.
Guarded by new browser tests for every moved page and workshop tool (tests/e2e/screens.spec.js).
This commit is contained in:
Benjamin Oezcan
2026-11-19 09:58:53 +01:00
parent fade816169
commit 4535ac7d8a
11 changed files with 975 additions and 711 deletions

View File

@@ -833,6 +833,10 @@
<script src="shop.js"></script>
<script src="painter.js"></script>
<script src="uicheck.js"></script>
<script src="sfx.js"></script>
<script src="pages.js"></script>
<script src="online.js"></script>
<script src="workshop.js"></script>
<script src="game.js"></script>
</body>
</html>