{"id":117976,"student_id":10,"content":"var koding = createSprite('koding_1.png', 'koding_2.png');\nvar a = createSprite('hole.png', 'a.png');\nvar b = createSprite('hole.png', 'b.png');\nvar c = createSprite('hole.png', 'c.png');\nvar d = createSprite('hole.png', 'd.png');\nvar e = createSprite('hole.png', 'e.png');\nvar f = createSprite('hole.png', 'f.png');\nvar g = createSprite('hole.png', 'G.png');\nvar h = createSprite('hole.png', 'h.png');\na.move(-60, 20);\nb.move(-20, 30);\nc.move(20, 30);\nd.move(60, 20);\ne.move(-60, 90);\nf.move(-20, 100);\ng.move(20, 100);\nh.move(60, 90);\n\n\na.on('click', clickA);\nb.on('click', clickB);\nc.on('click', clickC);\nd.on('click', clickD);\ne.on('click', clickE);\nf.on('click', clickF);\ng.on('click', clickG);\nh.on('click', clickH);\n\nvar rand = Math.floor(Math.random()*8);\n\nfunction clickA () {\n a.costumeId = 1;\n if (rand == 0) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickB () {\n b.costumeId = 1;\n if (rand == 1) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickC () {\n c.costumeId = 1;\n if (rand == 2) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickD () {\n d.costumeId = 1;\n if (rand == 3) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickE () {\n e.costumeId = 1;\n if (rand == 4) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickF () {\n f.costumeId = 1;\n if (rand == 5) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickG () {\n g.costumeId = 1;\n if (rand == 6) {\n koding.costumeId = 1;\n }\n}\n\nfunction clickH () {\n h.costumeId = 1;\n if (rand == 7) {\n koding.costumeId = 1;\n }\n}\n","created_at":"2020-01-01T23:23:57.999+08:00","updated_at":"2020-02-21T15:15:56.324+08:00","name":"海盜桶(概念版)","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/117976/77ae05fe67b5036be05fab8138b8d066.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":270,"hashid":"yeysnjp8","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2023341,"file_name":"c.png","project_id":117976,"asset_id":176343,"created_at":"2020-01-01T23:24:21.067+08:00","updated_at":"2020-01-01T23:24:21.067+08:00"},{"id":2023342,"file_name":"d.png","project_id":117976,"asset_id":176344,"created_at":"2020-01-01T23:24:21.069+08:00","updated_at":"2020-01-01T23:24:21.069+08:00"},{"id":2023349,"file_name":"k.png","project_id":117976,"asset_id":176351,"created_at":"2020-01-01T23:24:22.879+08:00","updated_at":"2020-01-01T23:24:22.879+08:00"},{"id":2023350,"file_name":"koding_1.png","project_id":117976,"asset_id":176352,"created_at":"2020-01-01T23:24:22.881+08:00","updated_at":"2020-01-01T23:24:22.881+08:00"},{"id":2023351,"file_name":"koding_2.png","project_id":117976,"asset_id":176353,"created_at":"2020-01-01T23:24:23.661+08:00","updated_at":"2020-01-01T23:24:23.661+08:00"},{"id":2023352,"file_name":"l.png","project_id":117976,"asset_id":176354,"created_at":"2020-01-01T23:24:23.663+08:00","updated_at":"2020-01-01T23:24:23.663+08:00"},{"id":2023343,"file_name":"e.png","project_id":117976,"asset_id":176345,"created_at":"2020-01-01T23:24:21.374+08:00","updated_at":"2020-01-01T23:24:21.374+08:00"},{"id":2023344,"file_name":"f.png","project_id":117976,"asset_id":176346,"created_at":"2020-01-01T23:24:21.376+08:00","updated_at":"2020-01-01T23:24:21.376+08:00"},{"id":2023339,"file_name":"a.png","project_id":117976,"asset_id":176341,"created_at":"2020-01-01T23:24:20.574+08:00","updated_at":"2020-01-01T23:24:20.574+08:00"},{"id":2023340,"file_name":"b.png","project_id":117976,"asset_id":176342,"created_at":"2020-01-01T23:24:20.577+08:00","updated_at":"2020-01-01T23:24:20.577+08:00"},{"id":2023353,"file_name":"G.png","project_id":117976,"asset_id":176355,"created_at":"2020-01-01T23:24:23.939+08:00","updated_at":"2020-01-01T23:32:33.524+08:00"},{"id":2023347,"file_name":"i.png","project_id":117976,"asset_id":176349,"created_at":"2020-01-01T23:24:21.944+08:00","updated_at":"2020-01-01T23:24:21.944+08:00"},{"id":2023348,"file_name":"j.png","project_id":117976,"asset_id":176350,"created_at":"2020-01-01T23:24:21.946+08:00","updated_at":"2020-01-01T23:24:21.946+08:00"},{"id":2023345,"file_name":"h.png","project_id":117976,"asset_id":176347,"created_at":"2020-01-01T23:24:21.663+08:00","updated_at":"2020-01-01T23:24:21.663+08:00"},{"id":2023346,"file_name":"hole.png","project_id":117976,"asset_id":176348,"created_at":"2020-01-01T23:24:21.666+08:00","updated_at":"2020-01-01T23:24:21.666+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦