https://s104.cycu.org/reeborg 在 Other worlds 下方點選 Alone 後, 按下 run 執行下列程式:
for i in range(4): for j in range(9): move() turn_left()
對應 harvest1.py: https://mde.tw/reeborg?lang=en&mode=python&menu=/reeborg/worlds/menus/select_collection_en.json&name=Alone&url=/reeborg/worlds/tutorial_en/harvest1.json&editor=/reeborg/python/harvest1.py
URL 變數設定:
lang=en
mode=python
menu=/reeborg/worlds/menus/select_collection_en.json
name=Alone
url=/reeborg/worlds/tutorial_en/harvest1.json
editor=/reeborg/python/harvest1.py
將 https://github.com/mdecycu/reeborg.git 設為 reeborg 子模組之後, 可以利用以下連結呼叫執行:
帶出 downloads 目錄下的 harvest1.py 執行:
https://mde.tw/wcm2025/reeborg?lang=en&mode=python&menu=/reeborg/worlds/menus/select_collection_en.json&name=Alone&url=/reeborg/worlds/tutorial_en/harvest1.json&editor=/downloads/harvest1.py
或者利用其他網站中的 harvest1.py 執行:
https://mde.tw/wcm2025/reeborg?lang=en&mode=python&menu=/reeborg/worlds/menus/select_collection_en.json&name=Alone&url=/reeborg/worlds/tutorial_en/harvest1.json&editor=https://mdewcm2025.github.io/hw-scrum-1/python/harvest1.py
Copyright © All rights reserved | This template is made with by Colorlib