Hello Explorer

Collapse Content

You are in charge of a robot, the Java Explorer, which will be on its own in a dangerous world. In each challenge, you need to fill in the Java method play, which will be invoked on every turn of the game. The Explorer will be able to do one action each turn.

The First area consists of 8 cells, with the Explorer (♖) at one end, and the Goal (☆) at the other:


Currently explorer can only do one action, walk forward. To get started write explorer.walk(); in the play method below.

Explorer methods
walk() - Moves the explorer forward (to the right) one Space.


Get the Explorer to the Goal!

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.


  • I don't find these challenges very well defined. What does it mean to move the robot one space to the right? Is there an 8 cell array called First? If so, how is the position of the explorer

  • The idea is to pick it up as you go through it. This first challenge tells you the code you need to write to pass it. Which challenge do you get stuck on?

  • explorer.walk() is supposed to move the explorer one space to the right but the instructions don't define what moving to the right means. Do I just define it any way I want? As I said in the

  • i dont understand what to do either?

  • I did not get this at all, but all you had to do was type in:


    but i still don't get the idea. the walking method already existed i guess? i dont get it.

  • Yes, you're using the explorer class which comes with methods that are described to you (in this case walk). A program takes your code, runs it on the game simulator and checks if the explorer reaches the goal.

  • "To get started write explorer.walk(); in the play method below."

    All you have to do is follow those intstructions there. Yeah I somehow missed this very simple instruction when I first read it over too! But its super easy, you can do it

Contact Us
Sign in or email us at [email protected]