{"id":31778,"student_id":104,"content":"{\n \"objName\": \"Stage\",\n \"variables\": [\n {\n \"name\": \"回合\",\n \"value\": \"1\",\n \"isPersistent\": false\n },\n {\n \"name\": \"最小距離\",\n \"value\": \"1000\",\n \"isPersistent\": false\n }\n ],\n \"lists\": [\n {\n \"listName\": \"優勢基因\",\n \"contents\": [\n 0,\n 0,\n 3,\n 3,\n 0,\n 1,\n 3,\n 3,\n 0,\n 1\n ],\n \"isPersistent\": false,\n \"x\": 371,\n \"y\": 8,\n \"width\": 111,\n \"height\": 200,\n \"visible\": false\n }\n ],\n \"scripts\": [\n [\n 43,\n 19,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"setVar:to:\",\n \"回合\",\n \"1\"\n ]\n ]\n ],\n [\n 44,\n 119,\n [\n [\n \"whenIReceive\",\n \"回合結束\"\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"backdrop1\",\n \"baseLayerID\": 1,\n \"baseLayerMD5\": \"92b50ce59f96ad34e331f81d1659862f.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 240,\n \"rotationCenterY\": 180\n }\n ],\n \"currentCostumeIndex\": 0,\n \"penLayerMD5\": \"5c81a336fab8be57adc039a8a2b33ca9.png\",\n \"penLayerID\": 0,\n \"tempoBPM\": 60,\n \"videoAlpha\": 0.5,\n \"children\": [\n {\n \"objName\": \"koding\",\n \"variables\": [\n {\n \"name\": \"\\b基因\",\n \"value\": 0,\n \"isPersistent\": false\n },\n {\n \"name\": \"i\",\n \"value\": 11,\n \"isPersistent\": false\n }\n ],\n \"lists\": [\n {\n \"listName\": \"自己的基因\",\n \"contents\": [\n 0,\n 0,\n 1,\n 1,\n 0,\n 1,\n 1,\n 0,\n 0,\n 0\n ],\n \"isPersistent\": false,\n \"x\": 5,\n \"y\": 59,\n \"width\": 129,\n \"height\": 200,\n \"visible\": false\n }\n ],\n \"scripts\": [\n [\n 10,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"hide\"\n ],\n [\n \"setSizeTo:\",\n 20\n ],\n [\n \"gotoX:y:\",\n 50,\n -2\n ],\n [\n \"deleteLine:ofList:\",\n \"all\",\n \"優勢基因\"\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"append:toList:\",\n [\n \"randomFrom:to:\",\n 0,\n 3\n ],\n \"優勢基因\"\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"最小距離\",\n \"1000\"\n ],\n [\n \"call\",\n \"回合開始\"\n ]\n ]\n ],\n [\n 1769,\n 82,\n [\n [\n \"procDef\",\n \"設定優勢基因為自己的基因\",\n [\n\n ],\n [\n\n ],\n false\n ],\n [\n \"setVar:to:\",\n \"i\",\n \"1\"\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"setLine:ofList:to:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"優勢基因\",\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"自己的基因\"\n ]\n ],\n [\n \"changeVar:by:\",\n \"i\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 1767.4,\n 612.35,\n [\n [\n \"procDef\",\n \"回合開始\",\n [\n\n ],\n [\n\n ],\n false\n ],\n [\n \"doRepeat\",\n 5,\n [\n [\n \"createCloneOf\",\n \"_myself_\"\n ]\n ]\n ],\n [\n \"wait:elapsed:from:\",\n 5\n ],\n [\n \"broadcast:\",\n \"回合結束\"\n ],\n [\n \"wait:elapsed:from:\",\n 1\n ],\n [\n \"call\",\n \"回合開始\"\n ]\n ]\n ],\n [\n 1763.2,\n 338.65,\n [\n [\n \"procDef\",\n \"設定自己的基因為優勢基因\",\n [\n\n ],\n [\n\n ],\n false\n ],\n [\n \"deleteLine:ofList:\",\n \"all\",\n \"自己的基因\"\n ],\n [\n \"setVar:to:\",\n \"i\",\n \"1\"\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"append:toList:\",\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"優勢基因\"\n ],\n \"自己的基因\"\n ],\n [\n \"changeVar:by:\",\n \"i\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 15.65,\n 320.65,\n [\n [\n \"whenIReceive\",\n \"回合結束\"\n ],\n [\n \"deleteClone\"\n ]\n ]\n ],\n [\n 831.25,\n 29,\n [\n [\n \"whenCloned\"\n ],\n [\n \"show\"\n ],\n [\n \"say:duration:elapsed:from:\",\n \"Hi~我是新的後代~\",\n 1\n ],\n [\n \"call\",\n \"設定自己的基因為優勢基因\"\n ],\n [\n \"say:duration:elapsed:from:\",\n \"我要突變囉~\",\n 1\n ],\n [\n \"doRepeat\",\n 2,\n [\n [\n \"setLine:ofList:to:\",\n [\n \"randomFrom:to:\",\n 1,\n 10\n ],\n \"自己的基因\",\n [\n \"randomFrom:to:\",\n 0,\n 3\n ]\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"i\",\n \"1\"\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"自己的基因\"\n ],\n \"0\"\n ],\n [\n [\n \"changeXposBy:\",\n -50\n ]\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"自己的基因\"\n ],\n \"1\"\n ],\n [\n [\n \"changeXposBy:\",\n 50\n ]\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"i\"\n ],\n \"自己的基因\"\n ],\n \"2\"\n ],\n [\n [\n \"changeYposBy:\",\n -50\n ]\n ],\n [\n [\n \"changeYposBy:\",\n 50\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"i\",\n 1\n ],\n [\n \"doIf\",\n [\n \"touching:\",\n \"目標\"\n ],\n [\n [\n \"call\",\n \"設定優勢基因為自己的基因\"\n ],\n [\n \"say:duration:elapsed:from:\",\n \"不用比了,我是最強基因!\",\n 2\n ],\n [\n \"stopScripts\",\n \"all\"\n ]\n ]\n ]\n ]\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"distanceTo:\",\n \"目標\"\n ],\n [\n \"readVariable\",\n \"最小距離\"\n ]\n ],\n [\n [\n \"call\",\n \"設定優勢基因為自己的基因\"\n ],\n [\n \"setVar:to:\",\n \"最小距離\",\n [\n \"distanceTo:\",\n \"目標\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n },\n {\n \"soundName\": \"meow\",\n \"soundID\": 1,\n \"md5\": \"83c36d806dc92327b9e7049a565c6bff.wav\",\n \"sampleCount\": 18688,\n \"rate\": 22050,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"koding\",\n \"baseLayerID\": 2,\n \"baseLayerMD5\": \"ce58bb1ea535016e7546963bd1e607d1.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 92,\n \"rotationCenterY\": 128\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": 50,\n \"scratchY\": -2,\n \"scale\": 0.2,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 1,\n \"visible\": false,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"框框\",\n \"scripts\": [\n [\n 10,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"clearPenTrails\"\n ],\n [\n \"show\"\n ],\n [\n \"gotoX:y:\",\n -100,\n 150\n ],\n [\n \"doRepeat\",\n 7,\n [\n [\n \"doRepeat\",\n 7,\n [\n [\n \"stampCostume\"\n ],\n [\n \"changeXposBy:\",\n 50\n ]\n ]\n ],\n [\n \"changeXposBy:\",\n -350\n ],\n [\n \"changeYposBy:\",\n -50\n ]\n ]\n ],\n [\n \"hide\"\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"造型1\",\n \"baseLayerID\": 3,\n \"baseLayerMD5\": \"43bb1b2da7e6fe9f43e2723053e23baa.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 25,\n \"rotationCenterY\": 25\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": -100,\n \"scratchY\": -190,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 2,\n \"visible\": false,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"koding\",\n \"cmd\": \"getVar:\",\n \"param\": \"\\b基因\",\n \"color\": 15629590,\n \"label\": \"koding: \\b基因\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 5,\n \"visible\": false\n },\n {\n \"target\": \"koding\",\n \"cmd\": \"getVar:\",\n \"param\": \"i\",\n \"color\": 15629590,\n \"label\": \"koding: i\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 32,\n \"visible\": false\n },\n {\n \"objName\": \"目標\",\n \"scripts\": [\n [\n 45,\n 21,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"gotoX:y:\",\n 200,\n -150\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"造型1\",\n \"baseLayerID\": 4,\n \"baseLayerMD5\": \"f83eee4533e88c369c5199355dd5a6bf.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 24,\n \"rotationCenterY\": 26\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": 200,\n \"scratchY\": -150,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 3,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"最小距離\",\n \"color\": 15629590,\n \"label\": \"最小距離\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 250,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"回合\",\n \"color\": 15629590,\n \"label\": \"回合\",\n \"mode\": 2,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 8.35,\n \"y\": 25.65,\n \"visible\": true\n },\n {\n \"listName\": \"自己的基因\",\n \"contents\": [\n 0,\n 0,\n 1,\n 1,\n 0,\n 1,\n 1,\n 0,\n 0,\n 0\n ],\n \"isPersistent\": false,\n \"x\": 5,\n \"y\": 59,\n \"width\": 129,\n \"height\": 200,\n \"visible\": false\n },\n {\n \"listName\": \"優勢基因\",\n \"contents\": [\n 0,\n 0,\n 3,\n 3,\n 0,\n 1,\n 3,\n 3,\n 0,\n 1\n ],\n \"isPersistent\": false,\n \"x\": 371,\n \"y\": 8,\n \"width\": 111,\n \"height\": 200,\n \"visible\": false\n }\n ],\n \"info\": {\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36\",\n \"scriptCount\": 10,\n \"projectID\": \"projects_qmds3r4\",\n \"spriteCount\": 3,\n \"swfVersion\": \"v454\",\n \"videoOn\": false,\n \"flashVersion\": \"WIN 29,0,0,171\",\n \"hasCloudData\": false\n }\n}","created_at":"2018-06-21T17:37:31.365+08:00","updated_at":"2019-11-11T10:53:17.154+08:00","name":"二維迷宮","language":"scratch3","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/31778/cce22377b3c5d3cfb764e5877339488b.jpg"},"parent_id":30397,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":77,"hashid":"rdvsvn63","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":593028,"file_name":"4.png","project_id":31778,"asset_id":68763,"created_at":"2018-06-21T17:37:31.375+08:00","updated_at":"2018-06-21T17:37:31.375+08:00"},{"id":593029,"file_name":"3.svg","project_id":31778,"asset_id":68762,"created_at":"2018-06-21T17:37:31.377+08:00","updated_at":"2018-06-21T17:37:31.377+08:00"},{"id":593030,"file_name":"2.svg","project_id":31778,"asset_id":68761,"created_at":"2018-06-21T17:37:31.378+08:00","updated_at":"2018-06-21T17:37:31.378+08:00"},{"id":593031,"file_name":"1.wav","project_id":31778,"asset_id":68760,"created_at":"2018-06-21T17:37:31.380+08:00","updated_at":"2018-06-21T17:37:31.380+08:00"},{"id":593032,"file_name":"1.svg","project_id":31778,"asset_id":68759,"created_at":"2018-06-21T17:37:31.381+08:00","updated_at":"2018-06-21T17:37:31.381+08:00"},{"id":593033,"file_name":"0.wav","project_id":31778,"asset_id":68758,"created_at":"2018-06-21T17:37:31.383+08:00","updated_at":"2018-06-21T17:37:31.383+08:00"},{"id":593034,"file_name":"0.png","project_id":31778,"asset_id":68757,"created_at":"2018-06-21T17:37:31.384+08:00","updated_at":"2018-06-21T17:37:31.384+08:00"},{"id":19572685,"file_name":null,"project_id":31778,"asset_id":61544,"created_at":"2024-11-04T00:10:45.979+08:00","updated_at":"2024-11-04T00:10:45.979+08:00"},{"id":19572686,"file_name":null,"project_id":31778,"asset_id":9,"created_at":"2024-11-04T00:10:45.982+08:00","updated_at":"2024-11-04T00:10:45.982+08:00"},{"id":19572687,"file_name":null,"project_id":31778,"asset_id":6,"created_at":"2024-11-04T00:10:45.984+08:00","updated_at":"2024-11-04T00:10:45.984+08:00"},{"id":19572688,"file_name":null,"project_id":31778,"asset_id":7,"created_at":"2024-11-04T00:10:45.987+08:00","updated_at":"2024-11-04T00:10:45.987+08:00"},{"id":19572689,"file_name":null,"project_id":31778,"asset_id":10,"created_at":"2024-11-04T00:10:45.991+08:00","updated_at":"2024-11-04T00:10:45.991+08:00"},{"id":19572690,"file_name":null,"project_id":31778,"asset_id":58298,"created_at":"2024-11-04T00:10:45.994+08:00","updated_at":"2024-11-04T00:10:45.994+08:00"},{"id":19572691,"file_name":null,"project_id":31778,"asset_id":58299,"created_at":"2024-11-04T00:10:45.998+08:00","updated_at":"2024-11-04T00:10:45.998+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
語言
中文
简体中文
英文
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦