《Programming Wizards!》Levels
Advertisement
He was awoken by the sound of laughter. Amare and Oseye were talking. He tried to sit upright but he was covered in blankets. “You’re awake,” he said and they stepped closer.
“Mild hypothermia,” she said. “Like this loser,” she pointed to Amare.
“Hey, I didn’t know!”
“So, you and him talk all the time and all of a sudden he decides to do the same thing you did?”
“I—I didn’t tell him about it.”
“He didn’t ask what was wrong with your face?”
“He did, but I didn’t tell him that it was dangerous to fly so high!”
“So, you conveniently left out that part and he goes on to do the same thing a couple days later.”
“Right,” he said defeatedly. “You’re right, Oseye. I should have told him.”
“I’m just saying. I’ll tell Shuang he’s awake.”
“Andrew, what’s going on here?” he pointed to the screen. “It’s not letting me access the ‘Value’ variable.”
class TestClass { int Value; } void Main() { TestClass x1 = new TestClass(); x1.Value = 1; }
“The ‘x1.Value’ line is throwing an error.”
“Here,” pointed Andrew at the error message. ‘The field TestClass.Value is inaccessible due to its protection level.’
class TestClass { public int Value; }
The error was gone. “Classes’ protection level is ‘private’ by default?”
“Yes, in the language you’re using, it is. You had to mark it as ‘public’ to be able to access the variable from outside of the class.”
“How are you feeling?” asked Amare.
“Amare,” said Vick with a pitiful look. “I saw her.”
He knew without another word who Vick was talking about, and the smile on his face vanished. He took a seat beside the bed. “Did she reach for you, too?”
Advertisement
“She did.”
He covered his face with his hands and began sobbing.
“Amare,” worryingly he said and tried to reach out to him but the blankets were wrapped around his arms. “Amare,” he said again. “Maybe it was a hallucination.”
“I have to—” he said through his tears. “I have to—I have to go up there again.”
“Amare, no. You can’t.”
“But, she’s waiting there.”
“We don’t know if it is her.”
“You said,” he looked at Vick, “it was her.”
“Amare,” he paused, and he wanted to take back his words, he had never seen him in such despair. “I thought it were her because you thought it were her.”
“No, I swear it were her. Didn’t they disappear over the clouds? Lost on the radar, above how many meters?”
He tried to remember, and it didn’t take long. He remembered the incident like it were yesterday. “Fifteen-thousand.”
“Fifteen-thousand meters, Vick. We have to go back.”
“With a heater,” he responded instantly.
“I honestly like this better than class,” said Willard. “We should meet to review occasionally.”
“Mister Vick sucks at teaching,” said Roy. “That’s for sure.”
“Mister Vick looked tired yesterday,” said Gus.
“I’m sure that was the reason for his absence today,” said Andrew. “Everyone’s got to take breaks. He’ll be better equipped to teach us soon.”
“Andrew,” said Roy. “I set it to one here, but when I print it out, it’s two.”
“Oh, that’s because the variable is a reference to the object.”
void Main() { TestClass x1 = new TestClass(); x1.Value = 1; TestClass x2 = x1; x2.Value = 2; Console.WriteLine(“x1: ” + x1.Value); Console.WriteLine(“x2: ” + x2.Value); }
Advertisement
“Object?”
“Yes, an instance of a class is an object.”
“Ah, now I remember Mister Vick teaching us that. The class is like a blueprint and using the ‘new’ keyword makes an object from that blueprint?”
“Exactly. You seem to be catching on quick, Roy.”
“That still doesn’t explain why both of them are—” he paused. “I see, reference type?”
“You figured it out on your own.”
“You helped jog my memory, thank you.”
Advertisement
- In Serial11 Chapters
The Orc Elementalist
Dylan Harvey was just your average mall cop. A man with little responsibility is suddenly thrust into a world full of magic and mayhem after a night of texting and driving. Now, reborn as an Orc, can Dylan survive the brutality of Orcish culture before his journey can truly begin? Or will he become some dumb brute's stepping stone to power? (Updates whenever this funky cat completes a chapter.) (Art made by me. Don't judge, I only have MsPaint)
8 163 - In Serial7 Chapters
Greg Kills God
The only thing that changed for Greg when the world ended was that his job at the corner store got busier... and weirder, a lot weirder.
8 187 - In Serial36 Chapters
The Secret Policemen
When a citizen is murdered by the secret police, a cover-up is required. This cover-up grows and morphs, and touches everyone on the way to the very top of the People’s Republic and the Ministry of State Security. The Secret Policemen tells the story of the corrupt Police Inspector, the violent Smoking Man, and the sex worker Karla.The Inspector and the Smoking Man who will do anything to avoid a one way trip to the ominous sounding Farm, and Karla is just trying to stay out of everything. The Secret Policemen is story full of interesting characters, absurdity, darkness, betrayal, and the unfortunate people of the People's Republic. The Secret Policemen will make you laugh and cry - and will shock and surprise you. This is the first book of a duology that charts to life and tribulations of Karla.The Secret Policemen is a wickedly transgressive dark comedy.
8 131 - In Serial8 Chapters
Ranger Of Albion
In Which the Story of Edward Deiramund is Narrated; including the Impact of the Civil War, his Early Unorthodox Life, the Rise to Prominence, the Challenges Faced, the Decisions Made, and How it All Came Together to Shape his Nature. ***** Author's note: The summary is not up to the mark, so I ask you to please read the first few chapters to get a better idea. For those looking for even general description - it's a slow paced fantasy life that gradually ramps up - just like real life.
8 111 - In Serial48 Chapters
Sanguimancer
[participant in the Royal Road Writathon challenge] |Vampires. Cursed existences that feed on the life force of the living by draining their blood. Deceptively powerful and able to use incredible magic, the only chance humanity has against them is the runic language gifted to them by Solaris, God of Light. While not all powerful, they have given humanity the power to fight back, leading to the current stalemate. Brandon suffered a tragic fate while walking through the woods. Offered a choice by Solaris, what will his life entail? Author's note: This will be my main focus during November, but I almost guarantee that it won't be finished by the time the challenge ends. I'll probably lower releases to biweekly or monthly after that depending on my schedule. There are no plans for a harem, or even a romantic interest. If you decide to join me for the ride, I welcome criticism and try and reply to comments so let me know what you think!
8 543 - In Serial11 Chapters
Andromeda's Tears
The city of Andromeda is rotten to the core. The concepts of right and wrong are just abstracts for philosophers to ponder, in Andromeda money is king. But from this crime ridden and corrupt city will rise a legend. Follow the story of our heroine as she struggles to find her place in the world while she fights the evil that has consumed her city in a battle for the city's very soul.Rated mature for language , violence and sex
8 169

