meltdown: co-op reactor game (with leaderboard + DC-save)#65
Closed
BCook98 wants to merge 4 commits into
Closed
Conversation
A co-op reactor-room panic on the 80x24 terminal: the whole screen is a failing reactor ship — rooms and corridors in box characters around a glowing core whose pulse and colour are the shared health bar. Crew run the bays fixing faults that erupt at stations and worsen if neglected: LEAK (mash space), FIRE (hold space, regrows if released), JAMMED VALVE (type a shown key sequence), and a two-person BREACH that only spawns with a crew of 2+. Unfixed faults drain the core; faults spawn faster and faster, so the run always ends. Score = survival time in seconds. Solo is first-class: same loop, fault cadence scaled to one engineer, no two-person faults. Crew scaling is sub-linear (sqrt of crew size) so a bigger crew is an easier shift — recruiting friends is the incentive. Built on shellcade/kit v2.9.0, character-aware (CtxFeatCharacter), with a HigherBetter/BestResult survival-seconds leaderboard. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adopt kit.ScoreKeeper(OnImprove): record each boarded crew member's shared survival seconds live in OnWake, re-post all tracked crew on a throttled 10s game-clock interval (FlushAll), and post the leaving member's survival as StatusDNF in OnLeave (FlushLeave). The existing OnClose->recordResults KV persistence is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
meltdown adopts kit.ScoreKeeper (v2.11.0). Bump go.mod + the validate/publish KIT_VERSION so CI exercises the kit features it uses. Green once the shellcade-kit v2.11.0 binary is published. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…meltdown # Conflicts: # .github/workflows/publish.yml # .github/workflows/validate.yml
Smoke screensDeterministic scripted screens for |
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.
What
The in-flight meltdown co-op reactor game, including its leaderboard integration done as part of the leaderboard-coverage effort (kept on this branch rather than the main effort branch since the game isn't merged yet).
Leaderboard commit
meltdown previously only wrote survival time to KV on
OnClose— nothing reached the board, and a host crash before close lost the run. Now it:ScoreKeeper, OnImprove),StatusDNFon disconnect.Test
meltdown_leaderboard_test.go: live post, on-leave DNF, periodic flush (each verified failing first).go test ./...+go build ./...green.🤖 Generated with Claude Code