Part Two · Bugs and Patterns
Chapter 8: Debugging Together
That night, Mateos showed Natania his game.
She sat at her desk in her precise way, and Mateos stood beside her, bouncing on his toes as she watched the screen. The cat chased. The star popped. The cat chased again. Pop. Chase. Pop.
After about thirty seconds, Natania reached for her tablet.
Mateos frowned. “Where? It works!”
Mateos watched. The star glided to the upper right corner of the screen, almost touching the edge. The cat followed… and stopped. It couldn’t quite reach the star because the star was too close to the edge, in a spot where the cat’s center couldn’t go.
“Oh.” Mateos felt his face get warm. “I only tested when the star was in the middle.”
Natania nodded.
“But how do I think of all the situations?”
“How do I fix it?”
Natania’s fingers moved toward the screen—then stopped. She looked at Mateos, waiting.
Right. She wasn’t going to fix it. This was his game. His bug. His debugging.
Mateos stared at the code. The glide block was using random numbers—1 to 480 for the x position, 1 to 360 for the y position. But the screen wasn’t exactly that size… or maybe the star could go to positions that the cat couldn’t reach…
“What if I made the numbers smaller? So the star stays away from the edges?”
Natania’s head tilted—her version of “go on.”
Mateos changed the numbers: 50 to 430 for x, 50 to 310 for y. He ran the game again.
Now the star stayed away from the corners. The cat could always reach it.
“I fixed the bug!”
“What? No there isn’t!”
Natania just waited.
Mateos played his own game again, really paying attention this time. Chase, pop, chase, pop, chase, pop… and then he saw it. Sometimes the star popped even when the cat wasn’t quite touching it. The game was cheating.
“The touching is wrong?”
Mateos looked at the cat sprite. Sure enough, it had long whiskers that extended past its face. So the game was registering a “touch” even when the whiskers were what made contact, not the cat’s body.
“Why is this so hard?”
Natania’s tablet:
She got up from the chair, done with the conversation in her Natania way. But at the door, she paused and typed one more thing:
After she left, Mateos stared at his game for a long time. Then he started fixing.
The next week brought news that felt like a bug in Mateos’s life—something that didn’t work the way it was supposed to.
On Wednesday, Daddy came home from work with a different look on his face. Not bad, exactly, but… serious. The kind of serious that meant a family meeting.
They sat at the kitchen table—Mateos, Natania, Mama, and Daddy. Natania had her headphones on but pushed back so she could hear, and her tablet was ready.
“I have to go to Houston for a project,” Daddy said. “Just for three weeks. I’ll video call every night. Same time. Every single night.”
“Three weeks?” Mateos felt the butterflies swarm, and not the good kind. “That’s forever!”
"TWENTY-ONE DAYS," Natania’s tablet said. But the way she typed it—stiff and quick, her fingers hitting the keys harder than usual—Mateos could tell she didn’t like it either.
“I know it feels like a long time,” Daddy said. “But here’s a secret: when something feels too big to handle, you break it into smaller pieces. That’s what engineers do. That’s how you debug a big problem.”
He got a piece of paper and drew twenty-one boxes, arranged in three rows of seven.
“Each night, after our video call, you can color in one box. Any color you want. You’ll see the finished picture grow, and the empty boxes shrink. It makes the waiting feel more… manageable.”
“That’s debugging,” Mateos said slowly, understanding. “Breaking a big problem into little problems.”
“Exactly right, champion.”
That night, after the first video call (Daddy’s face was pixelated and the hotel room behind him looked boring, but his voice was the same), Mateos colored in the first box. Blue, like Ezi’s ocean.
Twenty boxes left. Still a lot.
But the boxes were smaller than three weeks.
The twenty-one days passed slowly at first, then faster. Mateos colored boxes in every color he had—blue, green, purple, yellow, orange, red, and back to blue again. Each box made the empty space smaller and the finished picture grow.
When Daddy finally came home, walking through the door with his suitcase and his tired smile, Mateos ran to him so fast he almost knocked him over. The finished countdown chart hung on the refrigerator—twenty-one boxes, each one a different color, proof that even forever could be broken into pieces small enough to survive.
“You did it, champion,” Daddy said into his hair. “You debugged the waiting.”
—-