Skip to content

[WIP] Replace puzzle content with ripple effect chains#10

Closed
KateCatlin with Copilot wants to merge 1 commit into
mainfrom
copilot/replace-puzzle-content-ripple-effect
Closed

[WIP] Replace puzzle content with ripple effect chains#10
KateCatlin with Copilot wants to merge 1 commit into
mainfrom
copilot/replace-puzzle-content-ripple-effect

Conversation

Copilot AI commented Dec 29, 2025

Copy link
Copy Markdown
Contributor
  • Understand the issue: Replace puzzle content with new "ripple effect" chains focused on causal reasoning
  • Explore the repository structure and existing puzzles.ts file
  • Verify the build passes with current code
  • Replace the puzzles array contents with the new 30 puzzles from the issue description
  • Keep all existing interfaces (PuzzleEvent, Puzzle) and helper functions (getPuzzleForDay, getDayNumber) unchanged
  • Verify the build still passes after changes
  • Run code review
  • Run CodeQL security scan
Original prompt

This section details on the original issue you should resolve

<issue_title>Replace puzzle content with new "ripple effect" chains focused on causal reasoning</issue_title>
<issue_description>### Summary

Replace the existing puzzle content with 30 new puzzle chains that focus on causal reasoning and systems thinking rather than trivia recall. The current puzzles test whether players know specific facts; the new puzzles test whether players can reason through cause-and-effect relationships.

Problem

Playtesting feedback indicates the current puzzles feel like trivia rather than puzzles:

  • Players can't reason their way to answers — they either know the fact or they don't
  • Getting 0/3 or 1/3 feels frustrating rather than educational
  • The "ripple effect" theme isn't coming through

Solution

Replace puzzle content with new chains where a thoughtful player could genuinely reason: "If X happened, what would logically follow?"

Examples of the new approach:

  • "If OPEC embargoes oil → prices spike → government wants to conserve fuel → speed limits lowered"
  • "If sparrows are killed → locust predators gone → locust population explodes → crops destroyed"

Implementation

  1. Replace the contents of the puzzles array in src/data/puzzles.ts with the new puzzle data provided below
  2. Keep all existing interfaces and helper functions unchanged (PuzzleEvent, Puzzle, getPuzzleForDay, getDayNumber)
  3. Update IDs to start from 1 and increment sequentially

New Puzzle Data

Replace the puzzles array contents with the following 30 puzzles:

{
  id: 1,
  title: "The Oil Embargo Shock",
  events:  [
    {
      event: "1973: OPEC announces oil embargo against the United States",
      options: [
        "US increases domestic drilling immediately",
        "Gas prices quadruple within months",
        "Americans switch to electric cars",
        "Oil companies are nationalized"
      ],
      correctIndex:  1,
      explanation: "The embargo caused gas prices to spike from $0.39 to $1.35 per gallon — a quadrupling that shocked American consumers and the economy."
    },
    {
      event: "Gas prices quadruple, fuel becomes scarce",
      options: [
        "Government rations gasoline by license plate",
        "Speed limits reduced to 55 mph nationwide",
        "Public transit systems shut down",
        "Auto industry remains unchanged"
      ],
      correctIndex: 1,
      explanation: "Congress passed the National Maximum Speed Law, reducing speed limits to 55 mph to conserve fuel — a law that remained until 1995."
    },
    {
      event: "Speed limits lowered to save fuel",
      options: [
        "Smaller, fuel-efficient foreign cars gain US market share",
        "Gas prices return to normal immediately",
        "Trucking industry collapses",
        "Americans buy even larger vehicles"
      ],
      correctIndex: 0,
      explanation:  "Smaller, fuel-efficient Japanese cars gained massive US market share.  Detroit's big-car dominance ended, and fuel economy became a selling point."
    }
  ]
},
{
  id: 2,
  title: "The End of the Gold Standard",
  events: [
    {
      event: "1971: Nixon announces the US dollar will no longer be backed by gold",
      options: [
        "Gold prices immediately collapse",
        "Dollar value now floats freely against other currencies",
        "Other countries refuse to accept dollars",
        "US economy enters immediate recession"
      ],
      correctIndex:  1,
      explanation: "Without gold backing, the dollar became a 'fiat' currency with a floating exchange rate — its value determined by market forces, not gold reserves."
    },
    {
      event: "Dollar value floats freely, no longer tied to gold",
      options: [
        "Dollar becomes more stable than ever",
        "Inflation spikes throughout the 1970s",
        "Other countries adopt the gold standard",
        "Trade deficits disappear"
      ],
      correctIndex:  1,
      explanation: "Without the gold anchor, inflation spiked — reaching 14% by 1980.  The 'stagflation' of the 1970s was partly a consequence of abandoning gold."
    },
    {
      event: "Inflation surges through the 1970s",
      options:  [
        "Government prints more money to solve it",
        "Federal Reserve raises interest rates to nearly 20%",
        "Prices stabilize naturally over time",
        "US returns to the gold standard"
      ],
      correctIndex: 1,
      explanation: "Fed Chair Paul Volcker raised interest rates to nearly 20% in 1981 — triggering a recession but finally breaking the inflation cycle."
    }
  ]
},
{
  id:  3,
  title: "The Lehman Brothers Collapse",
  events: [
    {
      event: "September 2008: Lehman Brothers files for bankruptcy, largest in US history",
      options: [
        "Markets stabilize within days",
        "Credit markets freeze globally",
        "Other banks immediately profit",
        "Government na...

</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

- Fixes KateCatlin/Ripple-Game#8

<!-- START COPILOT CODING AGENT TIPS -->
---

 Let Copilot coding agent [set things up for you](https://github.com/KateCatlin/Ripple-Game/issues/new?title=+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.

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.

2 participants