12+

Sunny and the Algorithms of Gloom: Chapter 4.2

PreviousNext

Robert and Sunny hitched a ride on a boat floating down Conditional River. It was twilight by the time Queue Castle came into view on the left bank. It was shrouded in mists that gave it a mysterious atmosphere, and Sunny thought that it would be a rather fitting site for a confrontation with whoever left the secret code.

The two of them dismounted and were soon standing at the start of a winding cobblestone path leading up to the old castle.

The graying light illuminated the jagged edges of Queue Castle, and Sunny shivered as the trees along the path brushed their leaves together as if whispering. “Come on, Robert,” she murmured.

The pair walked and floated down the uneven stones of the path. A few turns ahead, they could hear soft voices, and Sunny wondered if it was one of the groups who had figured out the code before them.

Sunny almost missed a step. Hold on. Weren’t they supposed to inform the police first?

Sunny was about to mention it to Robert, but then she remembered her earlier comment about detective novels and the police being incompetent. While she wasn’t sure if that was the case here, considering they had needed to recruit codebreakers across Javalandia, perhaps it was… Besides. A hero’s job was to do things more efficiently than whatever lawkeeping bodies the world had, right? And perhaps this was only the first step of the puzzle.

With justifications out of the way, Sunny hurried to the end of the path.

There she and Robert were faced with an imposing, cast-iron gate. The curlicues decorating the gates didn’t make the spikes on top of them any less scary. A robot was hovering to the right with a half-lidded, almost bored expression on its face. “Team name?” it asked in a monotone voice.

Sunny exchanged a glance with Robert. She didn’t know what she had expected, but it certainly wasn’t to be asked for a team name as if this was a competition… Well, she’d go along with it for now.

Sunny had come up with a bunch of epic names for a group of dragon-fighters or fantasy quest-goers, but she was stumped as to names for a girl and a robot going on a coding quest. “Sunny and her stupendous sidekick?” she suggested weakly.

Robert glared at her.

“Yeah, sorry, that was in bad taste. Um. How about the Super Snazzy Semicolons?”

Robert intensified his glare.

Sunny threw up her hands. “Okay then, do you have any ideas, oh-so-judgy Robert?”

“Considering your love of fantasy, perhaps Code Wizards? Or Debuggers? Honestly, even The Rubber Ducks would be better than the Super Snazzy Semicolons,” Robert commented snarkily.

Suddenly, there was the sound of footsteps coming along the path behind them. The robot to the side of the gate cleared his throat. “Well, you two are out of time. q.push(“The Rubber Ducks”);”

The robot pressed something and the gates opened inwards. “Please enter.”

Sunny exchanged a frazzled glance with Robert, then stepped through the iron gate.

Once the gate clanged shut behind them, a fog rolled in until Sunny could barely see Robert next to her. “Robert? Can code manipulate the weather here?” she asked nervously.

“If one is skilled enough, yes.” Robert turned on a light at his front. It barely helped against the fog. “But more importantly, are we really named The Rubber Ducks?”

Sunny thought back to the code the robot had spoken. “I guess so. What did the q.push thing mean?”

“Well, q is probably the name of a queue. Queues are data structures that store elements, like arrays, except they’re first in, first out. Meaning you can’t access elements from any position in a queue, like you can for an array. You can just add elements to a queue using queue.push() and get elements from the start of the queue using queue.pop().”

Sunny blinked. “That was a lot of words.”

The fog grew darker around the pair as Robert sighed. “Suffice it to say that queues store elements. Actually, perhaps you can compare a queue to a line for hot dogs. People are added to the back of the line. People at the front of the line get their hot dogs first, then leave the line. The line would represent the queue.”

“What if someone cuts in line?”

“Assume that doesn’t happen for queues.”

Sunny nodded thoughtfully. “Alright, that makes more sense with the analogy. Thanks.”

The fog darkened further until it appeared that night had fully fallen. Sunny shivered. “How long until we get to the castle?” She was beginning to feel like something was deeply wrong with this whole code and queue castle thing.

Robert started to respond, but he fell silent as the aforementioned castle arose out of the gloom, as if called up by Sunny’s question.

The crumbling stone and darkened windows made it look for all the world like a haunted building. Unfortunately, studying how to beat necromancers and apparitions had never been near the top of Sunny’s “How to be a Hero” training list. She looked up at the spires and gulped.

The main doors yawned open. “Well, here we go,” Sunny said.

Sunny rested a hand on Robert’s head for support (though whether she was supporting Robert or herself was unclear), and the two of them walked into Queue Castle.

There were a few moments where it was pitch-black. The air felt slightly warm, although the overall experience was like what it’d felt like to go through the portal— there was a change in air temperature, but for only a second.

Soon enough, Sunny and Robert emerged into a brightly-lit waiting room.

Sunny removed her hand from Robert’s head and looked around. Classical music played in the background, and there were cushioned chairs along the walls. A clean water fountain was to the left.

“Huh?” Sunny said.

“Hm,” Robert said.

The few people who were sitting in the chairs looked up at them. “Oh, great, more people figured out the code,” one of them grumbled.

Comments & reviews · 2
Note: You are not logged in, but you can still leave a comment or review. Before it shows up, a moderator will need to approve your comment (this is only a safeguard against spambots). Leave your email if you would like to be notified when your message is approved.

User avatar
IcyFlame
Review

Hi again mint, just coming straight over from part one! I can't picture what Queue Castle is going to be so I'm interested to find out.

It was shrouded in mists that gave it a mysterious atmosphere, and Sunny thought that it would be a rather fitting site for a confrontation with whoever left the secret code.

Echoing Ventomology's comment below that I love how Sunny decides things have a vibe that either fits or doesn't fit with the situation. I can completely see how she's deemed herself a fantasy hero, whether others know of her existence or not xD

While she wasn’t sure if that was the case here, considering they had needed to recruit codebreakers across Javalandia, perhaps it was…

But Robert seemed to think the police were ok, right? I think this thought process might need a little more clarity for me.

The robot to the side of the gate cleared his throat. “Well, you two are out of time. q.push(“The Rubber Ducks”);”

Amazing. I love it!

“Well, q is probably the name of a queue.

How can they tell that the robot said q, not queue? As they sound the same? Or do they see the text?

“What if someone cuts in line?”

Ah Sunny, always asking the important questions!

The few people who were sitting in the chairs looked up at them. “Oh, great, more people figured out the code,” one of them grumbled.

Amazing! I mean, it didn't take them that long so can't have been super difficult for other people too.

Obsessed with Team Rubber Ducks, and I hope they win whatever crazy thing this turns out to be!

Another review where I feel like I've just gushed rather than been helpful - but it was a fun read for me!

Looking forward to more of this :)

Icy

Image

Hehe thanks for getting this out of the Green Room, Icy! :]

But Robert seemed to think the police were ok, right? I think this thought process might need a little more clarity for me.

Ooh, okay, I%u2019ll make a note of that for revisions. ^^
How can they tell that the robot said q, not queue? As they sound the same? Or do they see the text?

Yeah, this was mentioned briefly in the first book! Whenever people speak code, it appears as text in the air. C: I should probably add reminders of that, though%u2026

Thanks for the reviews, and I hope you have a wonderful day/night! <3

Oh that's clear for me going forward! That'll teach me not to read book one!
<3

User avatar
Ventomology
Review

Hi hi! I am not doing Tortoise bc I have a theater commitment and also business travel this month so here I am again on the same day. Anyway let's get to it!

I feel like I have not talked about how much I love Sunny's little tidbits of voice in the narration, so here are my favorites:

It was shrouded in mists that gave it a mysterious atmosphere, and Sunny thought that it would be a rather fitting site for a confrontation with whoever left the secret code.

God I will never stop loving how Sunny thinks of everything in terms of whether it fits her 'fantasy hero vibes' or not.

A hero’s job was to do things more efficiently than whatever lawkeeping bodies the world had, right?

SUNNY THAT IS VIGILANTE-ISM.

Anyways. I love the descriptions of the castle, and I love that Sunny has Opinions about it. This is what I want all the time. Bonus points for mentioning sound when they get inside and there's classical music, though I think you definitely could have had more fun with how you brought up the fountain. That was a perfect opportunity to keep going with some sounds and a really sick action verb (like bubbled, burbled, splished, etc). Likewise at the beginning I saw some 'was's, which could definitely be replaced by more exciting words. (Like when the main doors yawn open. So great. I love.)

An aside: interesting to know that pop is in Java too. I personally never use it in python, because I never have to pop anything in my line of work, but it's cute to see it here.

Last thing: please keep the Rubber Ducks for this entire series. I want to see it pop up again like... five books from now when Sunny is writing spells that change the very fabric of Javaland. Team Rubber Ducks. Omg. Running gags are the spice of life.

Anyway, thanks for the lovely read so far! Tag me when you upload again! I can't wait!

-Vento

Aww, thanks for the sweet review!! C: I hope your theater and business things go well!

God I will never stop loving how Sunny thinks of everything in terms of whether it fits her 'fantasy hero vibes' or not.

Yes, Sunny is quite a character. xD
That was a perfect opportunity to keep going with some sounds and a really sick action verb (like bubbled, burbled, splished, etc).

Wait yeah, that would be really cool :0
Team Rubber Ducks. Omg. Running gags are the spice of life.

XDD Fun fact: I coded an escape room/text adventure before where the goal was to get the Rubber Duck of Reliable Divination. (I think the link's in my About Me page.) There's just something so funny about rubber ducks. =P
Anyway, thanks for the lovely read so far! Tag me when you upload again! I can't wait!

Thank you for the lovely reviews!! I'm putting this on pause for a bit while I try to revise and self-publish book 1, but your reviews have inspired me to pick this up again, hopefully in the near-ish future! ^-^ I really appreciate them! <333



Do. Or do not. There is no try.
— Yoda