{"id":202862,"student_id":10,"content":"import game\nimport random\n\ntargets = []\n\nfor x in range(11):\n for y in range(27):\n s = game.create_sprite('0.png')\n s.y = y * 34.64\n s.x = x * 120\n s.content = random.randrange(3)\n if y % 2 == 0: s.x += 60\n targets.append(s)\n\ndef loop():\n global target\n for t in targets:\n if cursor.is_down and t.touched(cursor): target = t\n\ngame.forever(loop)","created_at":"2020-11-09T18:48:26.615+08:00","updated_at":"2020-11-09T19:04:54.558+08:00","name":"w","language":"python","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/202862/1539fe78dfaca36f09d0c81c81b2cc9c.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":262,"hashid":"d5msvw5wy","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3503671,"file_name":"0.png","project_id":202862,"asset_id":280223,"created_at":"2020-11-09T18:48:48.756+08:00","updated_at":"2020-11-09T18:48:48.756+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦