summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.js b/main.js
index 7ce6e6f..3ca2f27 100644
--- a/main.js
+++ b/main.js
@@ -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);
}