Retired

Code Fantasy 1: The Beginning (retired)

12 of 13Kiliosvita

Description:

The world of the Coderion is not born without bloodshed. 2000 years ago, 18 different kingdoms competed for the sole controller of this planet. Many kingdoms were toppled and Code Warrior's lives were lost until the the war finally reached a stalemate. Only three powers were left and they cannot invade one without the other backdooring. They are the Code Federation located in the north-west, the Holy City of the Code Gods (HCCG) in the north-east, and the Code Empire in the south. With no other options, the three powers signed a treaty and peace finally settled upon Coderion.

That is until 600 years ago, Code Demons appeared in the Central City of the Code Empire and due to be taken from surprise, the empire fell within one single night. All of their territories, by the next day, were flooded with multitudes of demons, and the Code Warriors from the other two powers struggled to push them back. War is still being fought to this date trying to send the demons back to where they came from.

Your name is Draken, born close to the southern border of the HCCG in a small village. The village is attacked by Code Demons almost every day and you grew up knowing the horrors of bloodshed and war. Your parents are both from a respected linage of Code Warriors and you are expected by everyone to follow the footsteps of your parents.


"Alright, lets do this."

You slap yourself a few times infront of a large mirror to get rid of the drowsiness from sleep. Today is not only your 18th birthday, but also your first chance to challenge the Code Warrior Initiation Test. To this date, you've been preparing yourself for this test. Everyday, you've been staying at the village library, The Internet. Through digging into some piles of old books, you found a ancient book titled "Stack Overflow"; however, dispite you hard work, you could only understand 5% of the syntax used within the book. Even that 5% is enough for you to have a high percentage to pass the Initiation Test.

"Finally, it's time to go!"

You grab your book and your backpack and head out the door.

The Initiation Test is located in the Holy Temple at the heart of the village. You house is in the northern part of the village where most of the Code Warrior's decendents are settled at. The northern part of the village is the safest part out of all the others since most of the demons are in the south. All of the decendents are to be protected because they are the future to the resistance against demons.

As you tred down the path to the Holy Temple, you see many familiar faces but not close enough to talk to. Most of them are also headed for the Initiation Test. Some of them looks nervous enough to puke any second now, others looks confident enough to breeze past the test. You are sure you belong the latter catagory as you have the support of Stack Overflow.

Reaching the end of the path, you can see the Holy Temple right in front of you. The Holy Temple is a huge piece of building almost five times the size of your house. People varie from Code Warriors to common villagers are pacing in and out of the temple as they spectate for the Initiation Test. You walk up to a desk has the sign, "Regestration Here", and see a grumpy old man with a stack of forms.

"Name?"

"Draken."

"Age?"

"18."

"Alright, touch this crystal here."

The old man pointed at the glowing white crystal with the size of a small pallet. The white crystal is a Age Crystal used to confirm the age of whoever touches it. It will glow white when no one or someone under 18 touches it. Yellow between the age of 18 to 45, Green beween 45 and 100, and red with anyone over the age of 100. As you touch the crystal, it glows faintly yellow.

"Just reached 18 I see. Listen here, take this registration paper to one of the examiners wearing a white uniform and a holy cross symbol and then you can begin your test."

You took the paper and walked up the stairs while squeezing past many people that are spectating. Once inside, you can see multiple tables with a crystal orb on top. All of the examinees are seemingly dazed while one of their hands are placed on the orb. Above them is a screen showing their attempt at finishing a code model.

You saw one of the people that the old man mentioned and handed him your paper. The examiner looked over the paper and pointed to one of the orbs that wern't occupied.

"Well, here I go."

You walked to the table and placed your right hand onto the crystal orb.

Lights flashed in front of your eyes as you are seemingly transported into another world.

"Welcome challenger #89 to your initiation test. Your task is to find the first index of an integer array where three times the number is greater than the next one. If there aren't any, return -1"

Now it's the time to demonstrate your knowledge!

Example 1: {7,8,7} returns 0 since 3x7 = 21 and 21 > 8 Example 2: {1,3,8} returns 1 since 3x3 = 9 and 9 > 8 Example 3: {9,37,199} returns -1

Fundamentals

Stats:

CreatedJun 14, 2017
Warriors Trained24
Total Skips0
Total Code Submissions35
Total Times Completed13
Java Completions12
JavaScript Completions2
Total Stars0
% of votes with a positive feedback rating50% of 7
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes3
Total "Not Satisfied" Votes2
Total Rank Assessments7
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Kiliosvita Avatar
  • Voile Avatar
Ad