# Level - Robot Ragnarok

**URL:** <https://discourse.codecombat.com/t/level-robot-ragnarok/4798>\
**Category:** Level Help\
**Created:** [August 28, 2015, 2:21am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798 "2015-08-28T02:21:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Feinty](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/feinty/32/1869_2.png) [@Feinty](https://discourse.codecombat.com/u/Feinty)\
**Post date:** [August 28, 2015, 2:21am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/1 "2015-08-28T02:21:26Z")

</div>

To be completely honest I found this level hilariously easy all I had to do was a simple trial and error stem to figure out the pattern to get all the robots to kill each other/themselves

But I do understand that the wand you get is powerful if you are in that stage, but I wish that the weapons that we get in these special stages lasted longer

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [August 29, 2015, 1:13am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/2 "2015-08-29T01:13:00Z")

</div>

The limited time only reward items always have some sort of strategic ability where you would want to use them even over the more-balanced high end items. So for example, if you need a fast or flying army, you might want to equip Wyvernclaw even if you have the Vine Staff.

---

<div class="post-metadata">

**Author:** ![Feinty](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/feinty/32/1869_2.png) [@Feinty](https://discourse.codecombat.com/u/Feinty)\
**Post date:** [August 29, 2015, 2:26am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/3 "2015-08-29T02:26:08Z")

</div>

I am sorry I worded this improperly I often do not play wizard so if the item was like a ring so all the classes could use it (or a belt)

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [August 29, 2015, 5:12pm UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/4 "2015-08-29T17:12:04Z")

</div>

Right, we want the subscriber-only limited-time challenge items to appear visibly on your hero in the inventory screen, so no rings, since we don’t display those.

---

<div class="post-metadata">

**Author:** ![Jaymond\_Blahut](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@Jaymond\_Blahut](https://discourse.codecombat.com/u/Jaymond_Blahut)\
**Post date:** [September 2, 2015, 7:19pm UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/5 "2015-09-02T19:19:52Z")

</div>

How did you beat the level?  
I coded my char to move up 2 times then back down 1 time and after that he will die in any direction.  
I tried every direction from move 1 to 3 and I don’t see any solutions.  
even tried using code that wasn’t on my items to no avail.  
Please help.

---

<div class="post-metadata">

**Author:** ![Feinty](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/feinty/32/1869_2.png) [@Feinty](https://discourse.codecombat.com/u/Feinty)\
**Post date:** [September 3, 2015, 3:53am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/6 "2015-09-03T03:53:21Z")

</div>

Ah thanks for the clarfication

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [September 4, 2015, 1:43am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/7 "2015-09-04T01:43:17Z")

</div>

Have you tried moving down twice after moving up twice?

---

<div class="post-metadata">

**Author:** ![DoctorCoder](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/doctorcoder/32/2966_2.png) [@DoctorCoder](https://discourse.codecombat.com/u/DoctorCoder)\
**Post date:** [September 5, 2015, 6:51pm UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/8 "2015-09-05T18:51:50Z")

</div>

Here are 2 **_HINTS_** that may help fellow adventurers with the “Robot Ragnarok Challenge!”

**_HINT 1_**  
To learn if a move is **_safe_** , have the next statement of code already in place.  
Even if the first move is actually “ **_safe_** ,” your adventurer will stop on that spot if there are no further instructions awaiting them.  
As they sit motionless they die, making it seem as if the move they made was the wrong one.

**For example** :  
(this is not from the Challenge, as I do not want to give a “_Spoiler_,” but rather an example of my **_HINT_** ).

4 this.moveRight(); (i know already this works)  
5 this.moveDown(); (i know already this works)  
6 this.moveUp(); (this is the line I am testing to see if it is the next step)  
7 this.moveUp(); (this line will just move my adventurer in case step 6 was correct).  
If step 6 was incorrect, I will not get to this step 7.  
Your this.moveX(); at line 7 can be anything, I used this.moveUp(); because it is the first direction I am going to be “testing” once I find the correct direction for step 6).

Once you get the correct direction for step 6, and you are now testing Step 7, **remember to add** the this.moveUp(); to Step 8 to keep your adventure on the move.

**_HINT 2_**  
Test your moves in a progression of Up, Right, Down, Left. It is easy to remember that way!

I hope this helps anyone who is struggling to survive the Robot Ragnarok!  
It took me 23 Steps/statements to survive this Challenge.

**_FUN TIDBIT_** : _"Ragnarok_" is from Norse Mythology!

Happy Coding fellow adventurers, I must return to the Kithgard Dungeon to continue my quest to become the Ultimate Coder!  
DoctorCoder

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [September 9, 2015, 12:28am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/9 "2015-09-09T00:28:56Z")

</div>

Good explanation of your reasoning process! By the way, you can do it in 8 moves if you are bold.

---

<div class="post-metadata">

**Author:** ![Feinty](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/feinty/32/1869_2.png) [@Feinty](https://discourse.codecombat.com/u/Feinty)\
**Post date:** [September 10, 2015, 3:09am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/10 "2015-09-10T03:09:12Z")

</div>

I did it in seven lines I’ll send you the code if you want

---

<div class="post-metadata">

**Author:** ![Shinuz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/shinuz/32/3045_2.png) [@Shinuz](https://discourse.codecombat.com/u/Shinuz)\
**Post date:** [September 30, 2015, 1:31am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/11 "2015-09-30T01:31:40Z")

</div>

I was having a hard time with that one but after following DoctorCoder’s HINT1 i actually managed to do it with only 6 line of codes 😄

---

<div class="post-metadata">

**Author:** ![George\_Huchins\_Hun](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@George\_Huchins\_Hun](https://discourse.codecombat.com/u/George_Huchins_Hun)\
**Post date:** [February 26, 2017, 12:45am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/13 "2017-02-26T00:45:13Z")

</div>

@nick i need help with this level it keeps killing me after i kill all the robots here is my code

```python
self.moveUp()
self.say("woah robots dude")
self.moveRight()
self.moveRight()
self.moveDown()
self.moveDown()
self.moveDown()
self.moveLeft()
self.moveLeft()
self.moveLeft()

```

 ![](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/d/dd579f7a9d67b9876e800838f126420ceab58c8d.png)

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [February 26, 2017, 6:06am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/14 "2017-02-26T06:06:48Z")

</div>

Try to unequip the pet. For this level pets can make it worse. We will fix it soon, but now it’s better to pass this level without pets.

---

<div class="post-metadata">

**Author:** ![twenty-one21](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/twenty-one21/32/6607_2.png) [@twenty-one21](https://discourse.codecombat.com/u/twenty-one21)\
**Post date:** [August 17, 2017, 5:26pm UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/15 "2017-08-17T17:26:04Z")

</div>

i can’t do it either

---

<div class="post-metadata">

**Author:** ![Hellenar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/hellenar/32/9100_2.png) [@Hellenar](https://discourse.codecombat.com/u/Hellenar)\
**Post date:** [August 22, 2017, 12:03am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/16 "2017-08-22T00:03:04Z")

</div>

What is the issue prohibiting your hero from beating the level? 😉

---

<div class="post-metadata">

**Author:** ![3nterpris3](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/3nterpris3/32/11441_2.png) [@3nterpris3](https://discourse.codecombat.com/u/3nterpris3)\
**Post date:** [February 4, 2020, 5:50am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/21 "2020-02-04T05:50:11Z")

</div>

Use a moveUp(2) at the start then move down. You should moveDown(); and then moveRight(2); at the end.  
I can’t post solutions cuz I’m not getting muted or banned.

---

<div class="post-metadata">

**Author:** ![CocoCharlie](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/cococharlie/32/19081_2.png) [@CocoCharlie](https://discourse.codecombat.com/u/CocoCharlie)\
**Post date:** [August 5, 2020, 3:38am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/22 "2020-08-05T03:38:52Z")

</div>

i can only get  
hero.moveUp(2)  
hero.moveDown()

---

<div class="post-metadata">

**Author:** ![CocoCharlie](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/cococharlie/32/19081_2.png) [@CocoCharlie](https://discourse.codecombat.com/u/CocoCharlie)\
**Post date:** [August 6, 2020, 9:58pm UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/23 "2020-08-06T21:58:29Z")

</div>

I have tried everything.

---

<div class="post-metadata">

**Author:** ![Code\_Master](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/code_master/32/16184_2.png) [@Code\_Master](https://discourse.codecombat.com/u/Code_Master)\
**Post date:** [September 21, 2020, 3:35am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/24 "2020-09-21T03:35:33Z")

</div>

Try using hero.say. It is EXTREMELY helpful

---

<div class="post-metadata">

**Author:** ![Code\_Master](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/code_master/32/16184_2.png) [@Code\_Master](https://discourse.codecombat.com/u/Code_Master)\
**Post date:** [September 21, 2020, 3:37am UTC](https://discourse.codecombat.com/t/level-robot-ragnarok/4798/25 "2020-09-21T03:37:33Z")

</div>

Here’s a hint at the start.  
I am using Tharin.  
@CocoCharlie @George_Huchins_Hun

```python
hero.moveUp()
hero.say("message") # waste time
hero.moveLeft()

```

and you can try the remaining moves

[Next page](https://discourse.codecombat.com/t/level-robot-ragnarok/4798.md?page=2)
