Spaces:
Running
Running
|
Download classroom_data/templates/week25/README.md from Telearn/Project_Demo: direct link, hf CLI and curl.
- Browser
- Download file 959 Bytes
-
https://huggingface.co/spaces/Telearn/Project_Demo/resolve/main/classroom_data/templates/week25/README.md
- Command line
-
hf download hf://spaces/Telearn/Project_Demo/classroom_data/templates/week25/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Telearn/Project_Demo/resolve/main/classroom_data/templates/week25/README.md
959 Bytes
Lesson 25|夥伴試玩
這個專題不需要之前的作品或資料。執行 main.py,只用虛擬幣,不使用真錢。
- 玩法:這份 Console 版有三位模擬買家,適合先自己排練;也可以請夥伴試玩網頁版。
- 今天做:用同一件商品跑兩種玩法,換成自己的商品或測試一條規則,準備講解一個 if。
- 交給同學測:說明模擬買家的出價是程式規則,不是真人資料;一次展示不能證明某種規則一定賣更貴。
網頁試玩:把 網頁版.html.txt 的內容存成 index.html,在瀏覽器開啟。先改商品名稱及描述;熟練後再改 JavaScript 裡 bots 的出價上限。網頁可離線執行,不用連接 Python 或設定伺服器。
L23–25 共用這個拍賣工作區。已經改過程式的同學,先暫存再取用別週範例;匯入整份套版會替換目前工作副本。也可以沿用原稿,只參考下一週的函式。