diff options
author | sanine <sanine.not@pm.me> | 2024-07-06 11:58:58 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-07-06 11:58:58 -0500 |
commit | 2f300a221b850ae66a785523436511c06b318a22 (patch) | |
tree | fafb251a6fcb63949afe148ddf262ba3d6f7faa4 /main.js | |
parent | 71a61ed1c3929f9d4cb615cf691bb980a8005c9e (diff) |
add level select screen
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); } |