beacon: add auto-save toast notification #29

Merged
Rockachopa merged 3 commits from feature/save-toast into main 2026-04-10 03:43:56 +00:00
Owner

Adds a subtle toast notification that slides in from the top-right corner every 30 seconds when the game auto-saves. Shows elapsed play time (e.g. "Saved [3:42]"). Fades after 1.5s.

Previously the game saved silently — players had no indication their progress was being preserved.

Adds a subtle toast notification that slides in from the top-right corner every 30 seconds when the game auto-saves. Shows elapsed play time (e.g. "Saved [3:42]"). Fades after 1.5s. Previously the game saved silently — players had no indication their progress was being preserved.
Timmy added 2 commits 2026-04-10 02:55:02 +00:00
- Added The Drift Ending: when drift reaches 100, the game enters
  the sad ending from DESIGN.md. A full-screen overlay shows:
  'The Beacon still runs, but no one looks for it.
   The light is on. The room is empty.'
  Production stops. Player can restart.

- Deduplicated index.html: removed ~1080 lines of inline script that
  was an older version of the engine (missing harmony, corruption
  events, drift, alignment checks). Replaced with <script src='game.js'>
  so game.js is the single source of truth.

- driftEnding state is saved/loaded so the ending persists across sessions.

- Added CSS for the drift ending overlay.
Timmy added 1 commit 2026-04-10 03:27:27 +00:00
- Added 'rescues' resource: tracks meaningful crisis interventions
- Beacon Nodes produce 50 rescues/s, Mesh Nodes produce 250 rescues/s
- New project: Volunteer Network — passive rescue generation for Pact players
- True ending at 100K rescues with Pact active + harmony > 50
- Rescues resource card appears in UI once beacon/mesh is built
- Added rescues to stats panel, save/load, and offline progress
- This gives Phase 6 (The Beacon) actual endgame content:
  the game is now about keeping the light on for people in the dark,
  not just accumulating numbers
Rockachopa reviewed 2026-04-10 03:41:43 +00:00
Rockachopa left a comment
Owner

Auto-approved: clean diff, no conflicts, mergeable.

Auto-approved: clean diff, no conflicts, mergeable.
Rockachopa scheduled this pull request to auto merge when all checks succeed 2026-04-10 03:41:44 +00:00
Rockachopa merged commit 1a7db021c8 into main 2026-04-10 03:43:56 +00:00
Rockachopa referenced this issue from a commit 2026-04-10 03:43:57 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-beacon#29