{"id":35204,"student_id":1991,"content":"{\n\t\"objName\": \"Stage\",\n\t\"variables\": [{\n\t\t\t\"name\": \"回合\",\n\t\t\t\"value\": 5,\n\t\t\t\"isPersistent\": false\n\t\t}],\n\t\"lists\": [{\n\t\t\t\"listName\": \"優勢基因\",\n\t\t\t\"contents\": [1, 1, 1, 1, 0, 1, 1],\n\t\t\t\"isPersistent\": false,\n\t\t\t\"x\": 371,\n\t\t\t\"y\": 8,\n\t\t\t\"width\": 111,\n\t\t\t\"height\": 200,\n\t\t\t\"visible\": true\n\t\t}],\n\t\"scripts\": [[43, 19, [[\"whenGreenFlag\"], [\"setVar:to:\", \"回合\", \"1\"]]],\n\t\t[44, 119, [[\"whenIReceive\", \"回合結束\"], [\"changeVar:by:\", \"回合\", 1]]]],\n\t\"sounds\": [{\n\t\t\t\"soundName\": \"pop\",\n\t\t\t\"soundID\": -1,\n\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\"sampleCount\": 258,\n\t\t\t\"rate\": 11025,\n\t\t\t\"format\": \"\"\n\t\t}],\n\t\"costumes\": [{\n\t\t\t\"costumeName\": \"backdrop1\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"bef6e32a44098e1d3200fb91d0429cbf.svg\",\n\t\t\t\"bitmapResolution\": 1,\n\t\t\t\"rotationCenterX\": 240,\n\t\t\t\"rotationCenterY\": 180\n\t\t}],\n\t\"currentCostumeIndex\": 0,\n\t\"penLayerMD5\": \"ff4206c01fddc86a1815317c3ab5ff49.png\",\n\t\"penLayerID\": -1,\n\t\"tempoBPM\": 60,\n\t\"videoAlpha\": 0.5,\n\t\"children\": [{\n\t\t\t\"objName\": \"koding\",\n\t\t\t\"variables\": [{\n\t\t\t\t\t\"name\": \"\\u0008基因\",\n\t\t\t\t\t\"value\": 0,\n\t\t\t\t\t\"isPersistent\": false\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"name\": \"i\",\n\t\t\t\t\t\"value\": 11,\n\t\t\t\t\t\"isPersistent\": false\n\t\t\t\t}],\n\t\t\t\"lists\": [{\n\t\t\t\t\t\"listName\": \"自己的基因\",\n\t\t\t\t\t\"contents\": [0, 0, 1, 1, 0, 1, 1, 0, 0, 0],\n\t\t\t\t\t\"isPersistent\": false,\n\t\t\t\t\t\"x\": 5,\n\t\t\t\t\t\"y\": 59,\n\t\t\t\t\t\"width\": 129,\n\t\t\t\t\t\"height\": 200,\n\t\t\t\t\t\"visible\": false\n\t\t\t\t}],\n\t\t\t\"scripts\": [[10,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"hide\"],\n\t\t\t\t\t\t[\"setSizeTo:\", 20],\n\t\t\t\t\t\t[\"gotoX:y:\", 0, -80],\n\t\t\t\t\t\t[\"deleteLine:ofList:\", \"all\", \"優勢基因\"],\n\t\t\t\t\t\t[\"doRepeat\", 7, [[\"append:toList:\", [\"randomFrom:to:\", 0, 1], \"優勢基因\"]]],\n\t\t\t\t\t\t[\"call\", \"回合開始\"]]],\n\t\t\t\t[1769,\n\t\t\t\t\t82,\n\t\t\t\t\t[[\"procDef\", \"設定優勢基因為自己的基因\", [], [], false],\n\t\t\t\t\t\t[\"setVar:to:\", \"i\", \"1\"],\n\t\t\t\t\t\t[\"doRepeat\",\n\t\t\t\t\t\t\t7,\n\t\t\t\t\t\t\t[[\"setLine:ofList:to:\", [\"readVariable\", \"i\"], \"優勢基因\", [\"getLine:ofList:\", [\"readVariable\", \"i\"], \"自己的基因\"]],\n\t\t\t\t\t\t\t\t[\"changeVar:by:\", \"i\", 1]]]]],\n\t\t\t\t[1767.4,\n\t\t\t\t\t612.35,\n\t\t\t\t\t[[\"procDef\", \"回合開始\", [], [], false],\n\t\t\t\t\t\t[\"doRepeat\", 5, [[\"createCloneOf\", \"_myself_\"]]],\n\t\t\t\t\t\t[\"wait:elapsed:from:\", 3],\n\t\t\t\t\t\t[\"doBroadcastAndWait\", \"開始判定優勝基因\"],\n\t\t\t\t\t\t[\"wait:elapsed:from:\", 4],\n\t\t\t\t\t\t[\"call\", \"回合開始\"]]],\n\t\t\t\t[1763.2,\n\t\t\t\t\t338.65,\n\t\t\t\t\t[[\"procDef\", \"設定自己的基因為優勢基因\", [], [], false],\n\t\t\t\t\t\t[\"deleteLine:ofList:\", \"all\", \"自己的基因\"],\n\t\t\t\t\t\t[\"setVar:to:\", \"i\", \"1\"],\n\t\t\t\t\t\t[\"doRepeat\",\n\t\t\t\t\t\t\t7,\n\t\t\t\t\t\t\t[[\"append:toList:\", [\"getLine:ofList:\", [\"readVariable\", \"i\"], \"優勢基因\"], \"自己的基因\"], [\"changeVar:by:\", \"i\", 1]]]]],\n\t\t\t\t[13.45, 436.8, [[\"whenIReceive\", \"回合結束\"], [\"deleteClone\"]]],\n\t\t\t\t[371,\n\t\t\t\t\t24,\n\t\t\t\t\t[[\"whenCloned\"],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"say:duration:elapsed:from:\", \"hi!我是新的後代~\", 1],\n\t\t\t\t\t\t[\"call\", \"設定自己的基因為優勢基因\"],\n\t\t\t\t\t\t[\"say:duration:elapsed:from:\", \"我要突變囉~\", 1],\n\t\t\t\t\t\t[\"setLine:ofList:to:\", [\"randomFrom:to:\", 1, 7], \"自己的基因\", [\"randomFrom:to:\", 0, 1]],\n\t\t\t\t\t\t[\"setVar:to:\", \"i\", \"1\"],\n\t\t\t\t\t\t[\"doRepeat\",\n\t\t\t\t\t\t\t7,\n\t\t\t\t\t\t\t[[\"doIfElse\",\n\t\t\t\t\t\t\t\t\t[\"=\", [\"getLine:ofList:\", [\"readVariable\", \"i\"], \"自己的基因\"], \"0\"],\n\t\t\t\t\t\t\t\t\t[[\"changeXposBy:\", -30]],\n\t\t\t\t\t\t\t\t\t[[\"changeXposBy:\", 30]]],\n\t\t\t\t\t\t\t\t[\"changeVar:by:\", \"i\", 1],\n\t\t\t\t\t\t\t\t[\"doIf\",\n\t\t\t\t\t\t\t\t\t[\"touching:\", \"目標\"],\n\t\t\t\t\t\t\t\t\t[[\"call\", \"設定優勢基因為自己的基因\"], [\"say:duration:elapsed:from:\", \"不用比了,我是最強基因!\", 2], [\"stopScripts\", \"all\"]]]]],\n\t\t\t\t\t\t[\"doWaitUntil\", [\"touching:\", \"目標\"]],\n\t\t\t\t\t\t[\"say:duration:elapsed:from:\", \"我是優勢基因!\", 1],\n\t\t\t\t\t\t[\"say:duration:elapsed:from:\", \"所以我要生小孩!\", 1],\n\t\t\t\t\t\t[\"call\", \"設定優勢基因為自己的基因\"],\n\t\t\t\t\t\t[\"broadcast:\", \"回合結束\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"soundName\": \"meow\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83c36d806dc92327b9e7049a565c6bff.wav\",\n\t\t\t\t\t\"sampleCount\": 18688,\n\t\t\t\t\t\"rate\": 22050,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"koding\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"ce58bb1ea535016e7546963bd1e607d1.svg\",\n\t\t\t\t\t\"bitmapResolution\": 1,\n\t\t\t\t\t\"rotationCenterX\": 92,\n\t\t\t\t\t\"rotationCenterY\": 128\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 0,\n\t\t\t\"scratchY\": -80,\n\t\t\t\"scale\": 0.2,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 1,\n\t\t\t\"visible\": false,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"框框\",\n\t\t\t\"scripts\": [[10,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"clearPenTrails\"],\n\t\t\t\t\t\t[\"setSizeTo:\", 60],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"gotoX:y:\", -210, -80],\n\t\t\t\t\t\t[\"doRepeat\", 15, [[\"stampCostume\"], [\"changeXposBy:\", 30]]],\n\t\t\t\t\t\t[\"hide\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"43bb1b2da7e6fe9f43e2723053e23baa.svg\",\n\t\t\t\t\t\"bitmapResolution\": 1,\n\t\t\t\t\t\"rotationCenterX\": 25,\n\t\t\t\t\t\"rotationCenterY\": 25\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 240,\n\t\t\t\"scratchY\": -80,\n\t\t\t\"scale\": 0.6,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 2,\n\t\t\t\"visible\": false,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"koding\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"\\u0008基因\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"koding: \\u0008基因\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 5,\n\t\t\t\"visible\": false\n\t\t},\n\t\t{\n\t\t\t\"target\": \"koding\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"i\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"koding: i\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 32,\n\t\t\t\"visible\": false\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"目標\",\n\t\t\t\"scripts\": [[45, 21, [[\"whenGreenFlag\"], [\"gotoX:y:\", 210, -80]]],\n\t\t\t\t[37,\n\t\t\t\t\t110,\n\t\t\t\t\t[[\"whenIReceive\", \"開始判定優勝基因\"], [\"doUntil\", [\"touching:\", \"koding\"], [[\"changeXposBy:\", -4]]]]],\n\t\t\t\t[36, 238, [[\"whenIReceive\", \"回合結束\"], [\"gotoX:y:\", 210, -80]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"f83eee4533e88c369c5199355dd5a6bf.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 24,\n\t\t\t\t\t\"rotationCenterY\": 26\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 210,\n\t\t\t\"scratchY\": -80,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 3,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"回合\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"回合\",\n\t\t\t\"mode\": 2,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 237,\n\t\t\t\"y\": 15,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"listName\": \"自己的基因\",\n\t\t\t\"contents\": [0, 0, 1, 1, 0, 1, 1, 0, 0, 0],\n\t\t\t\"isPersistent\": false,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 59,\n\t\t\t\"width\": 129,\n\t\t\t\"height\": 200,\n\t\t\t\"visible\": false\n\t\t},\n\t\t{\n\t\t\t\"listName\": \"優勢基因\",\n\t\t\t\"contents\": [1, 1, 1, 1, 0, 1, 1],\n\t\t\t\"isPersistent\": false,\n\t\t\t\"x\": 371,\n\t\t\t\"y\": 8,\n\t\t\t\"width\": 111,\n\t\t\t\"height\": 200,\n\t\t\t\"visible\": true\n\t\t}],\n\t\"info\": {\n\t\t\"spriteCount\": 3,\n\t\t\"flashVersion\": \"WIN 30,0,0,134\",\n\t\t\"hasCloudData\": false,\n\t\t\"scriptCount\": 12,\n\t\t\"projectID\": \"projects_5j3sj2y4\",\n\t\t\"userAgent\": \"Mozilla\\/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/64.0.3282.186 Safari\\/537.36\",\n\t\t\"videoOn\": false,\n\t\t\"swfVersion\": \"v454\"\n\t}\n}","created_at":"2018-07-17T16:27:17.577+08:00","updated_at":"2019-02-07T22:15:20.324+08:00","name":"用演化演算法走一維迷宮 副本","language":"scratch3","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/35204/9a37cfab1b7a887092b2b4a269750b61.jpg"},"parent_id":30396,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":69,"hashid":"5j3sj2y4","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":639717,"file_name":"4.png","project_id":35204,"asset_id":68756,"created_at":"2018-07-17T16:27:17.585+08:00","updated_at":"2018-07-17T16:27:17.585+08:00"},{"id":639718,"file_name":"3.svg","project_id":35204,"asset_id":68755,"created_at":"2018-07-17T16:27:17.586+08:00","updated_at":"2018-07-17T16:27:17.586+08:00"},{"id":639719,"file_name":"2.svg","project_id":35204,"asset_id":68754,"created_at":"2018-07-17T16:27:17.588+08:00","updated_at":"2018-07-17T16:27:17.588+08:00"},{"id":639720,"file_name":"1.wav","project_id":35204,"asset_id":68753,"created_at":"2018-07-17T16:27:17.589+08:00","updated_at":"2018-07-17T16:27:17.589+08:00"},{"id":639721,"file_name":"1.svg","project_id":35204,"asset_id":68752,"created_at":"2018-07-17T16:27:17.590+08:00","updated_at":"2018-07-17T16:27:17.590+08:00"},{"id":639722,"file_name":"0.wav","project_id":35204,"asset_id":68751,"created_at":"2018-07-17T16:27:17.592+08:00","updated_at":"2018-07-17T16:27:17.592+08:00"},{"id":639723,"file_name":"0.png","project_id":35204,"asset_id":68750,"created_at":"2018-07-17T16:27:17.593+08:00","updated_at":"2018-07-17T16:27:17.593+08:00"},{"id":19607742,"file_name":null,"project_id":35204,"asset_id":58300,"created_at":"2024-11-04T00:13:24.924+08:00","updated_at":"2024-11-04T00:13:24.924+08:00"},{"id":19607743,"file_name":null,"project_id":35204,"asset_id":9,"created_at":"2024-11-04T00:13:24.927+08:00","updated_at":"2024-11-04T00:13:24.927+08:00"},{"id":19607744,"file_name":null,"project_id":35204,"asset_id":7,"created_at":"2024-11-04T00:13:24.930+08:00","updated_at":"2024-11-04T00:13:24.930+08:00"},{"id":19607745,"file_name":null,"project_id":35204,"asset_id":10,"created_at":"2024-11-04T00:13:24.934+08:00","updated_at":"2024-11-04T00:13:24.934+08:00"},{"id":19607746,"file_name":null,"project_id":35204,"asset_id":58298,"created_at":"2024-11-04T00:13:24.936+08:00","updated_at":"2024-11-04T00:13:24.936+08:00"},{"id":19607747,"file_name":null,"project_id":35204,"asset_id":58299,"created_at":"2024-11-04T00:13:24.940+08:00","updated_at":"2024-11-04T00:13:24.940+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
繁中
简中
English
日本語
語言
繁中
简中
English
日本語
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦