randomise cube, and separate out setup function
This commit is contained in:
parent
717bae78f5
commit
5e83230768
4 changed files with 39 additions and 27 deletions
7
script/cube_setup.ts
Normal file
7
script/cube_setup.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import * as Cube from './cube.js';
|
||||
import * as Shuffle from './shuffle.js';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
Cube.setup();
|
||||
Shuffle.setup();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue