{"id":817904,"student_id":10,"content":"from game import *\n\ncookie = create_sprite('koding.png')\nbtn = create_sprite('koding.png')\nbtn = create_sprite('koding.png')\nbtn.x -= 200\n\ncount = 0\nlevel = 1\n\ndef loop():\n draw_text(count, 10, 10, 'black', 100)\n\ndef onclick():\n global count\n count += level\n \ndef levelup():\n global level\n if count \u003e= 10:\n level += 1\n count -= 10\n\ndef levelup():\n global level\n if count \u003e= 10:\n level += 1\n count -= 10\n\ncookie.on('click', onclick)\nbtn.on('click', levelup)\nbtn.on('click', levelup)\nforever(loop)","created_at":"2024-08-13T11:41:22.721+08:00","updated_at":"2024-08-13T11:45:34.001+08:00","name":"餅乾點擊","language":"python","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/817904/38c93f5d7babbc30be2844c6b75d55ca.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":33,"hashid":"p93s33z59","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":18047123,"file_name":"cloud.png","project_id":817904,"asset_id":302343,"created_at":"2024-08-13T11:41:22.727+08:00","updated_at":"2024-08-13T11:41:22.727+08:00"},{"id":18047124,"file_name":"bg.jpg","project_id":817904,"asset_id":302344,"created_at":"2024-08-13T11:41:22.728+08:00","updated_at":"2024-08-13T11:41:22.728+08:00"},{"id":18047125,"file_name":"calm.mp3","project_id":817904,"asset_id":302345,"created_at":"2024-08-13T11:41:22.729+08:00","updated_at":"2024-08-13T11:41:22.729+08:00"},{"id":18047126,"file_name":"koding.png","project_id":817904,"asset_id":302346,"created_at":"2024-08-13T11:41:22.730+08:00","updated_at":"2024-08-13T11:41:22.730+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦