The Enemy
Collapse Content
Show Content
The Explorer faces opposition
Pawns can attack Explorers right near them. You can deal with them the same way as you did with Mines, but they take more pokes to kill.
Explorer Methods
Accessor
getSpace()
- Returns the next Space on the board.
Mutators
walk()
- Moves the explorer forward (to the right) one Space.poke()
- Pokes the next space, causing damage to any Enemy there.
Space methods
isEnemy()
- returns true if the Space contains an Enemy, and false otherwise.
Challenge
Defeat your enemy and reach the goal!
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.