wcm2025 網際內容管理

  • Home
    • SMap
    • reveal
    • blog
  • About
    • list
    • Git
      • W1
    • Summary
    • WCMS
    • WebApp
    • Vmware
    • AI
  • Topics
    • Wink
      • Fossil
    • Topic1
      • Portable
      • SSH
      • Javascript
    • Topic2
      • IPv6
    • Topic3
      • VM
    • Topic4
      • Copilot
    • Topic5
      • mde_group
      • cmsimde
  • Reeborg
    • walk
  • Reference
    • GPU
    • Serenity
    • Old
  • Brython
Reeborg << Previous Next >> Reference

walk

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


Reeborg << Previous Next >> Reference

Copyright © All rights reserved | This template is made with by Colorlib