How to Code a Rollercoaster
By Josh Funk
The Story
A girl and her rust-proof robot spend a day at the amusement park, using code to track ride tokens, time the lines, and hunt down a secret hidden code before the Python Coaster.
Why It's Special
For the kid who lines up toys by rule and loves finding the pattern in everything, this turns a day at the amusement park into a puzzle to solve.
- Big idea: Coding concepts like variables and if-then logic aren't just for screens — they're tools for making sense of everyday problems, even waiting in line for a rollercoaster.
- Vibes: Bright, busy, and puzzle-happy, with the buzz of a carnival day.
Perfect For Kids Who
- enjoy stories that mix real problem-solving with fun settings
- are curious about how coding ideas like variables and if-then work
- like to track, count, and figure out patterns
- respond well to a clear goal to work toward, like reaching the biggest ride
Ask Your Little Reader
- Story & problem-solving: How did Pearl and Pascal use code to figure out when the line was short enough for the Python Coaster?
- Imagination: If you had a robot friend like Pascal at the amusement park, what would you want it to help you track?
- Real-life connection: Have you ever used a rule like 'if this happens, then I do that' to make a decision?
- Story & problem-solving: What do you think the secret hidden code in the book might have been used for?
- Feelings & empathy: How do you think Pearl felt while waiting to see if the line would be short enough?













