{"id":119209,"student_id":10,"content":"let slot = createSprite('slot.png', 'slot.png');\nlet a = createSprite('1.png', '2.png', '3.png', '4.png', '5.png', '6.png', '7.png', '8.png');\nlet b = createSprite('1.png', '2.png', '3.png', '4.png', '5.png', '6.png', '7.png', '8.png');\nlet c = createSprite('1.png', '2.png', '3.png', '4.png', '5.png', '6.png', '7.png', '8.png');\n\nlet rand1 = 0;\nlet rand2 = 0;\nlet rand3 = 0;\n\na.y -= 10;\na.x -= 70;\nb.y -= 10;\nc.y -= 10;\nc.x += 70;\n\non('click', pull);\nforever(loop);\n\nfunction pull () {\n rand1 = 100 + Math.floor(Math.random()*32);\n rand2 = rand1 + Math.floor(Math.random()*32);\n rand3 = rand2 + Math.floor(Math.random()*32);\n}\n\nfunction loop () {\n if (rand1 \u003e 0) {\n rand1--;\n a.nextCostume();\n }\n if (rand2 \u003e 0) {\n rand2--;\n b.nextCostume();\n }\n if (rand3 \u003e 0) {\n rand3--;\n c.nextCostume();\n }\n if (rand1 == 0 \u0026\u0026 rand2 == 0 \u0026\u0026 rand3 == 0) {\n setBackdrop('black');\n }else {\n setBackdrop('red');\n }\n}","created_at":"2020-01-06T01:12:37.969+08:00","updated_at":"2020-11-30T18:44:57.846+08:00","name":"角子老虎機","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/119209/387a9ad28e246c0fd417b95a4c02598c.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":272,"hashid":"yeysn6yk","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2047467,"file_name":"1.png","project_id":119209,"asset_id":177403,"created_at":"2020-01-06T01:13:04.828+08:00","updated_at":"2020-01-06T01:13:41.283+08:00"},{"id":2047468,"file_name":"2.png","project_id":119209,"asset_id":177404,"created_at":"2020-01-06T01:13:04.831+08:00","updated_at":"2020-01-06T01:13:42.839+08:00"},{"id":2047469,"file_name":"3.png","project_id":119209,"asset_id":177405,"created_at":"2020-01-06T01:13:05.079+08:00","updated_at":"2020-01-06T01:13:44.523+08:00"},{"id":2047472,"file_name":"6.png","project_id":119209,"asset_id":177408,"created_at":"2020-01-06T01:13:13.840+08:00","updated_at":"2020-01-06T01:13:50.851+08:00"},{"id":2047473,"file_name":"7.png","project_id":119209,"asset_id":177409,"created_at":"2020-01-06T01:13:18.370+08:00","updated_at":"2020-01-06T01:13:52.139+08:00"},{"id":2047474,"file_name":"8.png","project_id":119209,"asset_id":177410,"created_at":"2020-01-06T01:13:21.212+08:00","updated_at":"2020-01-06T01:13:54.030+08:00"},{"id":2047470,"file_name":"4.png","project_id":119209,"asset_id":177406,"created_at":"2020-01-06T01:13:13.561+08:00","updated_at":"2020-01-06T01:13:47.749+08:00"},{"id":2047471,"file_name":"5.png","project_id":119209,"asset_id":177407,"created_at":"2020-01-06T01:13:13.563+08:00","updated_at":"2020-01-06T01:13:49.317+08:00"},{"id":2047475,"file_name":"slot.png","project_id":119209,"asset_id":177411,"created_at":"2020-01-06T01:13:36.345+08:00","updated_at":"2020-01-06T01:14:00.613+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦