Commit Graph

23 Commits

Author SHA1 Message Date
tes a32749c14a fix: floor gate ring radius for tiny canvases (review) 2026-06-12 15:16:59 +00:00
tes 7726651c69 feat: UI panel, time controls, full playable trading loop
- Add src/ui/panel.js: sidebar with status, time controls (⏸/1×/4×/16×/Map-System toggle), navigation buttons, market table with buy/sell, cargo display, intel panel with price age tags, and a 10-entry log (newest first).
- Replace src/main.js: wires Panel + GalaxyView + SystemView together; game clock driven by PixiJS ticker at configurable DAYS_PER_SEC; panel DOM refresh at 4 Hz; VICTORY/SHIP LOST banner on end state; speed/view state via controls closure.
- Amendment A (systemView.js): gateXY uses canvas-proportional radius (min(GATE_RADIUS, min(c.x,c.y)-40)) so gates stay on-screen on small canvases.
- Amendment B (main.js): keydown handler guards e.target !== document.body to avoid hijacking keys from focused panel buttons.
- Amendment C (main.js): renderer resize event rebuilds GalaxyView static geometry and clears SystemView cache so cached transforms don't go stale.
2026-06-12 15:13:58 +00:00
tes 881518417a feat: system view with star, planets, gates, concrete ships 2026-06-12 14:56:06 +00:00
tes 61244453e3 feat: neon galaxy view with bloom, hazard tints, clouds 2026-06-12 14:47:51 +00:00
tes ca32407c43 fix: compute clouds from planned route so destruction cannot leak (review) 2026-06-12 14:44:24 +00:00
tes f563934314 feat: probability clouds with envelope math and band exclusion 2026-06-12 14:38:50 +00:00
tes 2da0bee712 fix: decouple price book entries from news ledger snapshots (review) 2026-06-12 14:36:39 +00:00
tes 06957c65e1 feat: player knowledge layer - aging price intel and seen ships 2026-06-12 14:34:22 +00:00
tes 3afb5b829f docs: document committed-flight intent and player hazard odds (review) 2026-06-12 14:33:11 +00:00
tes 37ad2dd84d feat: player movement, trading, lane hazards, win/lose 2026-06-12 14:29:17 +00:00
tes aa52e402e3 fix: guard unknown event types, keep world.t consistent on throw (review) 2026-06-12 14:26:48 +00:00
tes b2aef9e72c feat: world orchestrator with living NPC economy 2026-06-12 14:22:42 +00:00
tes 29b1aef7d3 fix: clear destroyed-NPC state; use true EV in trade scoring (review) 2026-06-12 14:20:35 +00:00
tes 3783a8075b feat: NPC planner with seeded branch itineraries and arrivals 2026-06-12 14:14:43 +00:00
tes c31c80c00c feat: news ledger with lane-delayed price snapshots 2026-06-12 14:10:20 +00:00
tes d712f9bc23 feat: seeded galaxy generation with lanes, hazards, routing 2026-06-12 14:06:10 +00:00
tes 01348aa36a feat: binary-heap event queue with stable tie-breaking 2026-06-12 14:02:05 +00:00
tes 4ec8cb10f4 docs: clarify priceOf stock contract (review) 2026-06-12 14:00:57 +00:00
tes 922926cc6d feat: economy with lazy stock advancement and price curve 2026-06-12 13:58:54 +00:00
tes 3682205580 fix: collision-free (seed,label) encoding in rollFor (review) 2026-06-12 13:57:20 +00:00
tes 52d5008cdf feat: seeded RNG with per-label deterministic rolls 2026-06-12 13:54:40 +00:00
tes fe28d8ddcb fix: prevent scrollbars and inherit button font (review) 2026-06-12 13:53:25 +00:00
tes b8920f3115 chore: scaffold Vite + Vitest + PixiJS project 2026-06-12 13:49:42 +00:00