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:
explorer can only do one action, walk forward. To get started write
explorer.walk(); in the
play method below.
walk() - Moves the explorer forward (to the right) one Space.