Repository navigation
Add and document the SOP bunker sim with expeditions and save/load - #340
Merged
hyperpolymath merged 9 commits intoOct 11, 2026
Merged
Conversation
…nt sim Post-apocalyptic colony sim built from the provided architecture prototype (Sheltered x Oxygen Not Included x BoomTown), restyled as an NDW-era institutional surveillance terminal (amber CRT, hard sans, motorik audio). - Conative Utility AI: affective needs -> scored directives (eat/sleep/dig/ crank/repair/flee/sabotage), no state machines - Blackboard cognitive layer (dig orders, hazards, electrical nodes) - Dual-layer renderer: physical dollhouse + Gunpoint-style Crosslink wiring - Power graph with components, batteries, relay-hold; O2/gas diffusion - Economy: farms (food), generator burns dug Oel (power), caches, digging - Erdbeben events, device damage/repair, trait-driven psychotic breaks - Headless smoke harness (validated 120-day survival) + jsdom DOM test Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
- Save/load: versioned JSON Akte (world + inmates + scheduler state), localStorage with safe wrapper, autosave every 1200 ticks, manual SICHERN/LADEN, file export/import; world.serialize/loadFrom and InmateAI.serialize/fromData rebuild the full simulation state. - Surface expeditions: LUFTSCHLEUSE (airlock, ceiling row only, single) sends one subject topside via the new 'expedition' directive; they return after 500-800 ticks with weighted loot (Öl/Rationen/Metall/ Beton) and an 18% injury chance. Airlock panel with candidate select, away countdown and signature-cached rendering. - Colony growth: newcomers arrive at the airlock on a timer; a powered FUNKTURM (radio, 30W) halves the interval. MAX_INMATES 6. - main.js split into headless-safe step() + browser loop; UI guards for audio; smoke test gains phase 2 covering airlock placement, expedition lifecycle, arrivals, and a save->corrupt->load->continue roundtrip. - Verified: 4x 28800-tick smoke runs + DOM boot test green. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Contributor
Author
|
Important Review skippedThis PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
hyperpolymath
approved these changes
Oct 11, 2026
…76f663e Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
hyperpolymath
enabled auto-merge (squash)
October 11, 2026 18:00
hyperpolymath
disabled auto-merge
October 11, 2026 18:00
hyperpolymath
deleted the
coderabbit/document-pull-request-functions/676f663e
branch
October 11, 2026 18:01
Contributor
Author
|
Add Carrot credits or activate Agent usage billing to use Autofix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the playable Standard Operating Psychopathy browser game with utility-driven inmate AI, construction and wiring, power and gas simulation, disasters, CRT-style rendering, and audio. Include surface expeditions, newcomer arrivals, autosave/manual save/load and JSON import/export, plus smoke and DOM test harnesses.
Document AI, world, rendering, UI, audio, and persistence functions. Validate world saves, normalize restored statistics, defer expedition returns when the gate is blocked, and bind the development server to localhost.
Scope exceeds the task title “Generate docstrings for PR #339”: the eight-commit range adds the entire game alongside documentation and fixes.
Validation: commit history reports four 28,800-tick smoke runs and a passing DOM boot test. Validation was not rerun for this metadata task.
View coding task