randomise cube, and separate out setup function

This commit is contained in:
Rhiannon Morris 2025-02-16 22:40:33 +01:00
parent 717bae78f5
commit 5e83230768
4 changed files with 39 additions and 27 deletions

7
script/cube_setup.ts Normal file
View file

@ -0,0 +1,7 @@
import * as Cube from './cube.js';
import * as Shuffle from './shuffle.js';
document.addEventListener('DOMContentLoaded', () => {
Cube.setup();
Shuffle.setup();
});