20-5 海底神殿内部へ!
俯瞰図

解説動画
解答画像
解答コード
player.onChat("20-5", function () {
while (agent.detect(AgentDetection.Block, RIGHT)) {
agent.move(FORWARD, 1)
}
while (agent.detect(AgentDetection.Block, FORWARD)) {
agent.move(RIGHT, 1)
}
while (agent.detect(AgentDetection.Block, RIGHT)) {
agent.move(BACK, 1)
}
})
教え方のポイント
それぞれのクエストの復習ステージ
- 過去の動画を見て使えそうな考え方を探させてみるのもあり
