Seek out the Enemy


Collapse Content

Sometimes you have to leave the path to reach your destination.

You can use look() to get an array of 3 Spaces in the specified Direction. The array will contain null cells for areas beyond the board's edge.

This will let you find Archers who are shooting you.

Example:

Space[] spaces = explorer.look();      //looks to the right
spaces = explorer.look(Direction.DOWN) //looks down

Challenge

Shrewdly battle your way to the Goal!

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

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