7-6 秘密の通路②
解説動画
解答コード
player.onChat("7-6", function (depth, width) {
for (let i = 0; i < width; i++) {
for (let j = 0; j < depth; j++) {
agent.move(FORWARD, 1);
agent.place(DOWN);
}
agent.move(BACK, depth);
agent.move(RIGHT, 1);
}
});