fuzzyworld

tower / interior-flight / files / src / main.ts

Branch interior-flight · default branch · all branches

main.ts

538 B · history · blame

1import './style.css'
2import { App } from './ui/app.js'
3import { WorldStore } from './world/store.js'
4
5/**
6 * The slat count stays at its canon value of 0. The runtime control is disabled and
7 * its UI removed — see decisions.md D-033. Restoring a stored non-zero count here
8 * would silently reintroduce the bug for anyone who had already moved the slider.
9 */
10const store = new WorldStore()
11// The committed public world seeds a browser with no local draft yet.
12await store.load(`${import.meta.env.BASE_URL}world.json`)
13new App(store)