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