Play CodeRealm

Order, Fork and Trek

THE THREE RUNNERS

A story read by Order, Fork and Trek

Loading audio…

Press play to listen along. The line being read lights up as you go.

Show full transcript

Loading transcript…

01 Opening
Order, Fork and Trek beat 1 of 5

At the very start of every program — before anything happened, before a single light blinked on — there was a starting line, and three runners waiting on it.

They did not look alike. They did not act alike. And that was exactly the point, because the strange truth of the whole coding realm was this: every program that had ever run, from the smallest blinking toy to the biggest humming machine, was built out of just these three, working together.

Order stood straight and steady, holding a numbered list.

Fork stood at a place where the path split in two, looking calmly from one branch to the other.

And Trek stood already leaning forward, a little out of breath from a lap that hadn't even started yet, grinning like someone who loved to go around again.

"Ready?" said Order.

"Depends," said Fork.

"Always," said Trek.

02 Order, Fork and Trek
Order, Fork and Trek beat 2 of 5

Order went first, because Order almost always went first.

Order's whole nature was the right things in the right order. Step one, then step two, then step three — never step two before step one, never the ending before the middle. Order laid the path down one careful stone at a time, and the program walked it exactly as laid.

"People think I'm fussy," Order said, setting down a stone. "But watch what happens if I'm not." Order swapped two stones — just two, just for a second — and the whole path buckled and threw the program flat on its face. "See? Pour the cereal, then the milk. Wake up, then stand. Open the box, then look inside. Same steps, wrong order — and nothing works." Order set the two stones back where they belonged, and the path lay smooth again. "I'm not fussy. I'm just the one who remembers that when is part of what."

03 Order, Fork and Trek
Order, Fork and Trek beat 3 of 5

But then the path reached a place where it split, and this was Fork's whole reason for being.

Fork stood at the split and did the one thing Order never could: Fork chose. Not ahead of time. Not by guessing. Fork looked at what was true right now — this very second — and picked the branch that fit.

"Is the door open?" Fork asked the air. The air said yes. "Then we go left." And left they went. A moment later the path split again. "Is it raining?" The air said no. "Then we go right, no umbrella." Fork never fretted over the branch not taken. A choice wasn't a worry; a choice was just a clear look at what's true and a steady step onto the branch that matched. "Order knows the steps," said Fork. "But the world keeps changing under our feet. Somebody has to look up and decide which way this time. That's me."

04 Order, Fork and Trek
Order, Fork and Trek beat 4 of 5

And then the path did a curious thing: it curled around and came back to where it had started, and Trek's face lit up, because a loop was Trek's favorite place in all the realm.

Trek ran it. Then Trek ran it again. And again. Because Trek's whole nature was keep going around until the work is done — not once, not twice, but as many times as it took. Fold one shirt, come back, fold the next; water one plant, come back, water the next; take one step of a hundred, come back, take the next.

"Doesn't it get boring?" Order asked.

"That's the trick," said Trek, rounding the bend again. "You don't write a hundred steps. You write one — and I run it a hundred times. One instruction, and I'll go around till every shirt's folded and every plant's watered and there's nothing left on the list." Trek slowed, finally, as the last of the work came up empty. "And I stop when it's done. That's the part people forget to love about me. I don't just go forever. I go until the job's finished, and then I rest."

05 Closing
Order, Fork and Trek beat 5 of 5

The program had run. The lights, all of them, blinked on.

And here was the wonder of it: not one of the three could have done it alone. Order could put steps in perfect order but could never choose and never repeat. Fork could choose a path but had no steps to walk and no way to go around. Trek could loop forever but had nothing to loop over and no fork to steer it. Sequence, and choice, and repetition — three completely different jobs, useless apart, unstoppable together. Between the three of them, they could build anything the realm had ever seen.

They gathered back at the starting line, the finished program humming warm behind them.

"Good run," said Order.

"Good choices," said Fork.

"Good loops," said Trek, still grinning.

And there is a quiet, glad kind of feeling in that — the feeling of being one particular part of a thing, good at your own strange job and no one else's, standing shoulder to shoulder with others who are good at theirs, and knowing that the whole bright working machine only lit up because every single one of you was exactly, differently, yourself.

Hear it as an audio drama

A short play starring Order, Fork and Trek, from CodeRealm. Different voices, same idea. Listen any time after you read.

Loading audio…

Read the drama script
  1. Narrator: From Spark and Anvil and CodeRealm — this is Order, in chapter 1 of the CodeRealm cast.
  2. Narrator: This drama uses an AI-generated voice. Voiced via Gemini 2.5.
  3. Narrator: At the very start of every program — before anything happened, before a single light blinked on — there was a starting line, and three runners waiting on it. They did not look alike or act alike, and that was exactly the point.
  4. Narrator: Order stood straight and steady, holding a numbered list. Fork stood where the path split in two. And Trek stood already leaning forward, a little out of breath from a lap that hadn't started yet.
  5. Order: Ready?
  6. Fork: Depends.
  7. Trek: Always.
  8. Narrator: Order went first, because Order almost always goes first. Order's whole nature is the right things in the right order.
  9. Order: People think I'm fussy. But watch what happens if I'm not.
  10. Narrator: Order swapped two stones on the path — just two, just for a second — and the whole path buckled and threw the program flat on its face.
  11. Order: See? Pour the cereal, then the milk. Wake up, then stand. Same steps, wrong order — and nothing works. That's sequence. I'm not fussy. I'm the one who remembers that when is part of what.
  12. Narrator: Then the path reached a place where it split, and this was Fork's whole reason for being. Fork did the one thing Order never could: Fork chose — not ahead of time, not by guessing, but by what was true right now.
  13. Fork: Is the door open? Yes. Then we go left. Is it raining? No. Then we go right, no umbrella. Order knows the steps, but the world keeps changing under our feet. Somebody has to look up and decide which way this time, based on what's true. That's selection. That's me.
  14. Narrator: And then the path curled around and came back to where it had started, and Trek's face lit up, because a loop was Trek's favorite place in all the realm.
  15. Trek: You don't write a hundred steps. You write one — and I run it a hundred times. One instruction, and I'll go around till every shirt's folded and there's nothing left on the list. That's iteration. And I stop when it's done — I go until the condition says the job's finished, and then I rest.
  16. Narrator: The program had run. The lights, all of them, blinked on. And here is the wonder of it: not one of the three could have done it alone. Order could order steps but never choose or repeat. Fork could choose but had no steps and no way to go around. Trek could loop but had nothing to loop over and no fork to steer it.
  17. Narrator: Sequence, selection, iteration — three completely different jobs, useless apart, unstoppable together. Between the three of them, they can build anything. That's not a slogan; it's structured programming.
  18. Order: Good run.
  19. Fork: Good choices.
  20. Trek: Good loops.
  21. Narrator: And there is a quiet, glad feeling in that — being one particular part of a thing, good at your own strange job and no one else's, and knowing the whole bright working machine only lit up because every single one of you was exactly, differently, yourself.
  22. Narrator: You've been listening to a Spark and Anvil chapter, written by the Spark and Anvil writing team for ages 9 to 14.
  23. Narrator: Apps stay free forever.
  24. Narrator: Curriculum aligned to Computer Science Teachers Association standards.
  25. Narrator: Released under Creative Commons BY-NC-SA 4.0 for educational reuse. Visit Spark and Anvil for the full transcript.

The CodeRealm ensemble

Order, Fork and Trek is one of the friends in CodeRealm. Each friend shows you one idea by how they act; meet them all and you have the whole subject.

Kids also liked