Skip to content

Stage 4.0 — The Sentence (Hard Time spine) - #18

Open
QemmHD wants to merge 1 commit into
stage-3.9-audiofrom
stage-4.0-sentence
Open

Stage 4.0 — The Sentence (Hard Time spine)#18
QemmHD wants to merge 1 commit into
stage-3.9-audiofrom
stage-4.0-sentence

Conversation

@QemmHD

@QemmHD QemmHD commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Turns the open-ended sandbox into a finite, winnable/losable game — the core of Mdickie's Hard Time.

Stacked on #17#16. Verified working: headless smoke forces a verdict and confirms the card shows + the sim freezes.

What's new

  • Sentence: serve a term (scales with difficulty/backstory); HUD shows "N days left"; clean + productive days earn time off for good behavior.
  • Misconduct adds time: contraband +1d, solitary +2d, with an on-screen warning.
  • Endings: a verdict cardRELEASED (win) / ESCAPED (alt win, now wired from a real escape, not the "prototype ending" stub) / GAME OVER (death wired; fully triggered in 4.1). step() freezes the sim on a verdict.
  • Save v13: persists sentence + days served (old saves → fresh 30-day term).
  • docs/HARDTIME-DESIGN.md: research-derived design bible driving the whole 4.x remake roadmap.

Verification

  • typecheck + build green; headless smoke: verdict {cardShown:true, title:"RELEASED", frozen:true}, 0 console/page errors.
  • Built on the gap-analysis + a 9-aspect Hard Time research sweep.

🤖 Generated with Claude Code

Turns the open-ended sandbox into a finite, winnable/losable game — the core of
Mdickie's Hard Time. Sim-authoritative; save v13; typecheck + build + headless
smoke green (verdict card shows + sim freezes, verified).

- Sentence: serve a term (scales with difficulty/backstory); HUD shows "N days
  left"; clean+productive days earn time off for good behavior.
- Misconduct adds time: contraband +1d, solitary +2d, with an on-screen warning.
- Endings: verdict card — RELEASED (win) / ESCAPED (alt win, now wired from a
  real escape instead of the "prototype ending" stub) / GAME OVER (death wired,
  fully triggered in 4.1). step() freezes the sim on a verdict; card offers
  New Game / Main Menu.
- Save/load v13 persists sentence + days served (old saves -> fresh 30-day term).
- Added docs/HARDTIME-DESIGN.md (research-derived design bible) driving the 4.x
  roadmap; README "Planned next" now tracks the Hard Time remake stages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
QemmHD added a commit that referenced this pull request Jun 19, 2026
…sentence spine

3.8B: cinematic CSS atmosphere, fake-bloom glow, ground glow (#16).
3.9: procedural WebAudio — SFX, ambient bed, smooth alarm, mute toggle (#17).
4.0: the sentence spine — serve a term, time-off/added-time, RELEASED/ESCAPED/GAME OVER endings (#18).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant