diff options
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,4 @@ +import { setupLevelSelectUi } from './levelSelect.js'; import { setupLevel, setupLevelUi } from './level.js'; window.onload = () => { @@ -34,8 +35,9 @@ window.onload = () => { ) musicList[0].element.play(); - const level = setupLevel([[2, 2], [3,3]], [7, 7]); - const ui = setupLevelUi(level, root, audio); + // const level = setupLevel([[2, 2], [3,3]], [7, 7]); + // const ui = setupLevelUi(level, root, audio); + setupLevelSelectUi(root, audio); }; root.appendChild(start); } |