Last 12 weeks · 0 commits
1 of 6 standards met
A bit of a unique issue, but I figured I'd open it anyway. Saw this on my GitHub feed, figured I'd take a look, and had a good laugh! I wanted to say thanks for putting this together and giving me a break from my day. I really enjoyed taking the time to go through it. Be well, stay safe & have a happy Halloween! 👻
Summary New story branch: Continues the "lock the door" cliffhanger (which ended with a mysterious smell from the basement) into a full branching arc with 6 new states and 4 new endings: Investigate the basement -- discover a haunted laptop compiling your fears, then choose to smash it with a mechanical keyboard or befriend the ghost of technical debt Ignore the smell -- crank up lo-fi beats while a ghost writes comments in your editor, then choose to keep coding (and wake up to COBOL) or call a senior engineer for help 8 fallback characters (): Creative characters with fun favorite smells (e.g., "petrichor after a thunderstorm", "a brand new mechanical keyboard", "fresh pizza at 2 AM") so the story works even when the Hasura API is unreachable Error handling* in : Added a to the character fetch so the app gracefully falls back instead of failing silently Details The original "lock-the-door" path ended on a cliffhanger: a mysterious smell wafting from the basement. This PR picks up that thread and gives players 2 new choices that each branch into 2 more endings -- all written in the same spooky-dev-humor tone as the existing story. All new state keys follow the existing naming conventions ( event names, organized into level constants). The fallback characters use the same shape as the database records. New story tree (additions in bold) Test plan [ ] Verify the existing story paths still work as before [ ] Play through all 4 new endings from the "lock-the-door" branch [ ] Disconnect from the network / block the Hasura endpoint and confirm a fallback character loads [ ] Check that pronoun generation works correctly for all new story text (masc/fem/nb) This character was written by Daniel Bates. Happy to make any adjustments! 🤖 Generated with Claude Code
Repository: cassidoo/next-adventure. Description: A crowdsourced, mad-lib, choose your own adventure story! Stars: 222, Forks: 23. Primary language: JavaScript. Languages: JavaScript (82.8%), CSS (17.2%). Homepage: https://next-adventure.netlify.app Topics: hasura, netlify, netlify-forms, netlify-functions, next-on-netlify, nextjs. Open PRs: 0, open issues: 1. Last activity: 5y ago. Community health: 28%. Top contributors: cassidoo, dependabot[bot].