{"id":110035,"student_id":3760,"content":"{\"files\":{\"src/appinventor/ai_appinventor/BadPigges_Sa/Screen1.bky\":\"\\u003cxml xmlns=\\\"http://www.w3.org/1999/xhtml\\\"\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"=cyB;L74E0\\\\!,s-JOQzWQ\\\" x=\\\"0\\\" y=\\\"0\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"36\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"37\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e12\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"38\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"39\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e187\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"tk1gz1o+dpS3\\\\!74]Wu8*\\\" x=\\\"0\\\" y=\\\"118\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e地鼠洞\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"lrHxxTC{z8$q]w$hRG4y\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"5\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"171\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e初始化\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"6\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"VerticalArrangement\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲開始畫面\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲開始畫面\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"7\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"8\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"VerticalArrangement\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲畫面\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲畫面\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"9\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"12\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" set_or_get=\\\"set\\\" property_name=\\\"TimerEnabled\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲時間\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲時間\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eTimerEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"13\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"14\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 得分\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"15\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"16\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 倒數計時\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"17\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e30\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"18\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" set_or_get=\\\"set\\\" property_name=\\\"BackgroundImage\\\" is_generic=\\\"false\\\" instance_name=\\\"Screen1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eBackgroundImage\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"19\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003ebackground.jpg\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"20\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"重新開始\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e重新開始\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"21\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"22\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"得分\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e得分\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"23\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"24\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"25\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"26\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"TextColor\\\" is_generic=\\\"false\\\" instance_name=\\\"時間倒數\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e時間倒數\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eTextColor\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"color_yellow\\\" id=\\\"27\\\"\\u003e\\n \\u003cfield name=\\\"COLOR\\\"\\u003e#cccccc\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"28\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"時間倒數\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e時間倒數\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"29\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"30\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Enabled\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"31\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"40\\\" inline=\\\"false\\\" x=\\\"0\\\" y=\\\"223\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e倒數計時\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"41\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"32\\\" x=\\\"0\\\" y=\\\"276\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e邪惡豬移動\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"33\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Picture\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003ePicture\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"34\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003ePiggies.png\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"3wvvJ1Lz/NH,NZ5OB[fi\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 地鼠洞\\u003c/field\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"35\\\" inline=\\\"false\\\"\\u003e\\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"42\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"453\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e遊戲結束\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"43\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Enabled\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"44\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"45\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" set_or_get=\\\"set\\\" property_name=\\\"TimerEnabled\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲時間\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲時間\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eTimerEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"46\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"49\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Canvas\\\" set_or_get=\\\"set\\\" property_name=\\\"BackgroundImage\\\" is_generic=\\\"false\\\" instance_name=\\\"九個洞_背景\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e九個洞_背景\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eBackgroundImage\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"50\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003etimesup.png\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"203\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"重新開始\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e重新開始\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"210\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"60\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"505\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置2\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"61\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"62\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e132\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"63\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"64\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e187\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"51\\\" x=\\\"0\\\" y=\\\"557\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" instance_name=\\\"遊戲時間\\\" event_name=\\\"Timer\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲時間\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"52\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 倒數計時\\u003c/field\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"53\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"時間倒數\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e時間倒數\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"54\\\" inline=\\\"false\\\"\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"55\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eLTE\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"56\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 倒數計時\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"57\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cstatement name=\\\"DO0\\\"\\u003e\\n \\u003cblock type=\\\"procedures_callnoreturn\\\" id=\\\"58\\\"\\u003e\\n \\u003cmutation name=\\\"遊戲結束\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003e遊戲結束\\u003c/field\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"procedures_callnoreturn\\\" id=\\\"59\\\"\\u003e\\n \\u003cmutation name=\\\"儲存最佳分數\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003e儲存最佳分數\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"1\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"777\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"重新開始\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e重新開始\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"procedures_callnoreturn\\\" id=\\\"2\\\"\\u003e\\n \\u003cmutation name=\\\"初始化\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003e初始化\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"82\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"829\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置3\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"83\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"84\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e247\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"85\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"86\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e187\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"65\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"881\\\"\\u003e\\n \\u003cmutation component_type=\\\"Button\\\" instance_name=\\\"遊戲開始_按鈕\\\" event_name=\\\"Click\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲開始_按鈕\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"66\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"VerticalArrangement\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲開始畫面\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲開始畫面\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"67\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eFALSE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"68\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"VerticalArrangement\\\" set_or_get=\\\"set\\\" property_name=\\\"Visible\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲畫面\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲畫面\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eVisible\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_boolean\\\" id=\\\"69\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"70\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" set_or_get=\\\"set\\\" property_name=\\\"BackgroundColor\\\" is_generic=\\\"false\\\" instance_name=\\\"Screen1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eBackgroundColor\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"color_black\\\" id=\\\"71\\\"\\u003e\\n \\u003cfield name=\\\"COLOR\\\"\\u003e#000000\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"72\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" set_or_get=\\\"set\\\" property_name=\\\"BackgroundImage\\\" is_generic=\\\"false\\\" instance_name=\\\"Screen1\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eBackgroundImage\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"73\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003e\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"76\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Enabled\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"77\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"78\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Clock\\\" set_or_get=\\\"set\\\" property_name=\\\"TimerEnabled\\\" is_generic=\\\"false\\\" instance_name=\\\"遊戲時間\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e遊戲時間\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eTimerEnabled\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"logic_false\\\" id=\\\"79\\\"\\u003e\\n \\u003cfield name=\\\"BOOL\\\"\\u003eTRUE\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"80\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Canvas\\\" set_or_get=\\\"set\\\" property_name=\\\"BackgroundImage\\\" is_generic=\\\"false\\\" instance_name=\\\"九個洞_背景\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e九個洞_背景\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eBackgroundImage\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"81\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eback.jpg\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"87\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"933\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置4\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"88\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"89\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e16\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"90\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"91\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e138\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"92\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"985\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置5\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"93\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"94\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e132\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"95\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"96\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e138\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"97\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1037\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置6\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"98\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"99\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e237\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"100\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"101\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e138\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"102\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1089\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置7\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"103\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"104\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e31\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"105\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"106\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e91\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"107\\\" x=\\\"0\\\" y=\\\"1141\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e儲存最佳分數\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"controls_if\\\" id=\\\"108\\\" inline=\\\"false\\\"\\u003e\\n \\u003cvalue name=\\\"IF0\\\"\\u003e\\n \\u003cblock type=\\\"math_compare\\\" id=\\\"109\\\"\\u003e\\n \\u003cfield name=\\\"OP\\\"\\u003eEQ\\u003c/field\\u003e\\n \\u003cvalue name=\\\"A\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"110\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 得分\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"B\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"111\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"get\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"最佳分\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e最佳分\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"112\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1278\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置8\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"113\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"114\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e131\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"115\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"116\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e91\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"117\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1330\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e移動位置9\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"118\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"X\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eX\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"119\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e235\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"120\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Y\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eY\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"121\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e138\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"global_declaration\\\" id=\\\"122\\\" inline=\\\"false\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1382\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e得分\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"123\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e0\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"126\\\" collapsed=\\\"true\\\" x=\\\"0\\\" y=\\\"1434\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" instance_name=\\\"邪惡豬\\\" event_name=\\\"Touched\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_set\\\" id=\\\"127\\\" inline=\\\"false\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 得分\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"math_add\\\" id=\\\"128\\\"\\u003e\\n \\u003cmutation items=\\\"2\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cvalue name=\\\"NUM0\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"129\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 得分\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cvalue name=\\\"NUM1\\\"\\u003e\\n \\u003cblock type=\\\"math_number\\\" id=\\\"130\\\"\\u003e\\n \\u003cfield name=\\\"NUM\\\"\\u003e1\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"131\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"得分\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e得分\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"lexical_variable_get\\\" id=\\\"132\\\"\\u003e\\n \\u003cfield name=\\\"VAR\\\"\\u003eglobal 得分\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"133\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"ImageSprite\\\" set_or_get=\\\"set\\\" property_name=\\\"Picture\\\" is_generic=\\\"false\\\" instance_name=\\\"邪惡豬\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e邪惡豬\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003ePicture\\u003c/field\\u003e\\n \\u003cvalue name=\\\"VALUE\\\"\\u003e\\n \\u003cblock type=\\\"text\\\" id=\\\"134\\\"\\u003e\\n \\u003cfield name=\\\"TEXT\\\"\\u003eTouched.png\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/value\\u003e\\n \\u003cnext\\u003e\\n \\u003cblock type=\\\"component_method\\\" id=\\\"135\\\"\\u003e\\n \\u003cmutation component_type=\\\"Sound\\\" method_name=\\\"Play\\\" is_generic=\\\"false\\\" instance_name=\\\"得分_音效\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e得分_音效\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/next\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"procedures_defnoreturn\\\" id=\\\"124\\\" x=\\\"0\\\" y=\\\"1486\\\"\\u003e\\n \\u003cfield name=\\\"NAME\\\"\\u003e取得最佳分數\\u003c/field\\u003e\\n \\u003cstatement name=\\\"STACK\\\"\\u003e\\n \\u003cblock type=\\\"component_set_get\\\" id=\\\"125\\\" inline=\\\"false\\\"\\u003e\\n \\u003cmutation component_type=\\\"Label\\\" set_or_get=\\\"set\\\" property_name=\\\"Text\\\" is_generic=\\\"false\\\" instance_name=\\\"最佳分\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003e最佳分\\u003c/field\\u003e\\n \\u003cfield name=\\\"PROP\\\"\\u003eText\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cblock type=\\\"component_event\\\" id=\\\"136\\\" x=\\\"0\\\" y=\\\"1578\\\"\\u003e\\n \\u003cmutation component_type=\\\"Form\\\" instance_name=\\\"Screen1\\\" event_name=\\\"Initialize\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"COMPONENT_SELECTOR\\\"\\u003eScreen1\\u003c/field\\u003e\\n \\u003cstatement name=\\\"DO\\\"\\u003e\\n \\u003cblock type=\\\"procedures_callnoreturn\\\" id=\\\"137\\\"\\u003e\\n \\u003cmutation name=\\\"初始化\\\"\\u003e\\u003c/mutation\\u003e\\n \\u003cfield name=\\\"PROCNAME\\\"\\u003e初始化\\u003c/field\\u003e\\n \\u003c/block\\u003e\\n \\u003c/statement\\u003e\\n \\u003c/block\\u003e\\n \\u003cyacodeblocks ya-version=\\\"167\\\" language-version=\\\"21\\\"\\u003e\\u003c/yacodeblocks\\u003e\\n\\u003c/xml\\u003e\",\"src/appinventor/ai_appinventor/BadPigges_Sa/Screen1.scm\":\"#|\\n$JSON\\n{\\\"authURL\\\":[\\\"ai2.appinventor.mit.edu\\\",\\\"koding.school\\\"],\\\"YaVersion\\\":\\\"167\\\",\\\"Source\\\":\\\"Form\\\",\\\"Properties\\\":{\\\"$Name\\\":\\\"Screen1\\\",\\\"$Type\\\":\\\"Form\\\",\\\"$Version\\\":\\\"23\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"AppName\\\":\\\"\\\\u6253\\\\u64ca\\\\u90aa\\\\u60e1\\\\u8c6c\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"Icon\\\":\\\"badpigges.png\\\",\\\"ScreenOrientation\\\":\\\"portrait\\\",\\\"Scrollable\\\":\\\"True\\\",\\\"Uuid\\\":\\\"0\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u958b\\\\u59cb\\\\u756b\\\\u9762\\\",\\\"$Type\\\":\\\"VerticalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"AlignVertical\\\":\\\"2\\\",\\\"Height\\\":\\\"370\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"2128665454\\\",\\\"Visible\\\":\\\"False\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u958b\\\\u59cb_\\\\u6309\\\\u9215\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"Image\\\":\\\"start.png\\\",\\\"Uuid\\\":\\\"1413300430\\\"}]},{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u756b\\\\u9762\\\",\\\"$Type\\\":\\\"VerticalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"258467177\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u7d00\\\\u9304\\\\u5206\\\\u6578\\\\u5e03\\\\u666f\\\",\\\"$Type\\\":\\\"HorizontalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"AlignHorizontal\\\":\\\"2\\\",\\\"BackgroundColor\\\":\\\"\\u0026HFF000000\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"-975468214\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u6700\\\\u4f73\\\\u5206\\\\u6578_\\\\u6a19\\\\u7c64\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontBold\\\":\\\"True\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Text\\\":\\\"\\\\u6b77\\\\u53f2\\\\u7d00\\\\u9304:\\\",\\\"TextColor\\\":\\\"\\u0026HFFFFFFFF\\\",\\\"Uuid\\\":\\\"-1261397145\\\"},{\\\"$Name\\\":\\\"\\\\u6700\\\\u4f73\\\\u5206\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontBold\\\":\\\"True\\\",\\\"FontSize\\\":\\\"17\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Text\\\":\\\"0\\\",\\\"TextColor\\\":\\\"\\u0026HFFFFFF00\\\",\\\"Uuid\\\":\\\"-1927152876\\\"},{\\\"$Name\\\":\\\"\\\\u5206\\\\u6578:_\\\\u6a19\\\\u7c64\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontBold\\\":\\\"True\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Text\\\":\\\"\\\\u5206\\\\u6578:\\\",\\\"TextColor\\\":\\\"\\u0026HFFFFFFFF\\\",\\\"Uuid\\\":\\\"1431751211\\\"},{\\\"$Name\\\":\\\"\\\\u5f97\\\\u5206\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontBold\\\":\\\"True\\\",\\\"FontSize\\\":\\\"17\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"Text\\\":\\\"0\\\",\\\"TextColor\\\":\\\"\\u0026HFFFFFF00\\\",\\\"Uuid\\\":\\\"303250178\\\"}]},{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u756b\\\\u9762\\\\u5e03\\\\u666f\\\",\\\"$Type\\\":\\\"VerticalArrangement\\\",\\\"$Version\\\":\\\"3\\\",\\\"AlignHorizontal\\\":\\\"3\\\",\\\"AlignVertical\\\":\\\"2\\\",\\\"Height\\\":\\\"300\\\",\\\"Width\\\":\\\"-2\\\",\\\"Uuid\\\":\\\"263690642\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u4e5d\\\\u500b\\\\u6d1e_\\\\u80cc\\\\u666f\\\",\\\"$Type\\\":\\\"Canvas\\\",\\\"$Version\\\":\\\"10\\\",\\\"BackgroundColor\\\":\\\"\\u0026H00FFFFFF\\\",\\\"BackgroundImage\\\":\\\"back.jpg\\\",\\\"Height\\\":\\\"290\\\",\\\"Width\\\":\\\"300\\\",\\\"Uuid\\\":\\\"213927193\\\",\\\"$Components\\\":[{\\\"$Name\\\":\\\"\\\\u90aa\\\\u60e1\\\\u8c6c\\\",\\\"$Type\\\":\\\"ImageSprite\\\",\\\"$Version\\\":\\\"6\\\",\\\"Picture\\\":\\\"Piggies.png\\\",\\\"Uuid\\\":\\\"1168863681\\\",\\\"X\\\":\\\"10\\\",\\\"Y\\\":\\\"181\\\"}]}]},{\\\"$Name\\\":\\\"\\\\u91cd\\\\u65b0\\\\u958b\\\\u59cb\\\",\\\"$Type\\\":\\\"Button\\\",\\\"$Version\\\":\\\"6\\\",\\\"FontBold\\\":\\\"True\\\",\\\"Width\\\":\\\"-2\\\",\\\"Text\\\":\\\"\\\\u91cd\\\\u65b0\\\\u958b\\\\u59cb\\\",\\\"Uuid\\\":\\\"30764835\\\",\\\"Visible\\\":\\\"False\\\"}]},{\\\"$Name\\\":\\\"\\\\u6642\\\\u9593\\\\u5012\\\\u6578\\\",\\\"$Type\\\":\\\"Label\\\",\\\"$Version\\\":\\\"4\\\",\\\"FontBold\\\":\\\"True\\\",\\\"FontSize\\\":\\\"37\\\",\\\"HasMargins\\\":\\\"False\\\",\\\"TextColor\\\":\\\"\\u0026HFFCCCCCC\\\",\\\"Uuid\\\":\\\"-1250694476\\\"},{\\\"$Name\\\":\\\"\\\\u904a\\\\u6232\\\\u6642\\\\u9593\\\",\\\"$Type\\\":\\\"Clock\\\",\\\"$Version\\\":\\\"3\\\",\\\"TimerEnabled\\\":\\\"False\\\",\\\"Uuid\\\":\\\"1087961955\\\"},{\\\"$Name\\\":\\\"\\\\u5f97\\\\u5206_\\\\u97f3\\\\u6548\\\",\\\"$Type\\\":\\\"Sound\\\",\\\"$Version\\\":\\\"3\\\",\\\"Source\\\":\\\"coin.mp3\\\",\\\"Uuid\\\":\\\"377990645\\\"}]}}\\n|#\",\"src/appinventor/ai_appinventor/BadPigges_Sa/Screen1.yail\":\"#|\\n$Source $Yail\\n|#\\n\\n(define-form appinventor.ai_appinventor.BadPigges_Sa.Screen1 Screen1)\\n(require \\u003ccom.google.youngandroid.runtime\\u003e)\\n\\n(def (p$移動位置1 ) (set-and-coerce-property! '邪惡豬 'X 12 'number)(set-and-coerce-property! '邪惡豬 'Y 187 'number))\\n(def g$地鼠洞 0)\\n(def (p$初始化 ) (set-and-coerce-property! '遊戲開始畫面 'Visible #t 'boolean)(set-and-coerce-property! '遊戲畫面 'Visible #f 'boolean)(set-and-coerce-property! '遊戲時間 'TimerEnabled #f 'boolean)(set-var! g$得分 0)(set-var! g$倒數計時 30)(set-and-coerce-property! 'Screen1 'BackgroundImage \\\"background.jpg\\\" 'text)(set-and-coerce-property! '重新開始 'Visible #f 'boolean)(set-and-coerce-property! '得分 'Text 0 'text)(set-and-coerce-property! '邪惡豬 'Visible #t 'boolean)(set-and-coerce-property! '時間倒數 'TextColor -3355444 'number)(set-and-coerce-property! '時間倒數 'Text \\\"\\\" 'text)(set-and-coerce-property! '邪惡豬 'Enabled #t 'boolean))\\n(def g$倒數計時 0)\\n(def (p$邪惡豬移動 ) (set-and-coerce-property! '邪惡豬 'Picture \\\"Piggies.png\\\" 'text)(set-var! g$地鼠洞 0)(if #f (begin #f)))\\n(def (p$遊戲結束 ) (set-and-coerce-property! '邪惡豬 'Enabled #f 'boolean)(set-and-coerce-property! '遊戲時間 'TimerEnabled #f 'boolean)(set-and-coerce-property! '九個洞_背景 'BackgroundImage \\\"timesup.png\\\" 'text)(set-and-coerce-property! '重新開始 'Visible #t 'boolean))\\n(def (p$移動位置2 ) (set-and-coerce-property! '邪惡豬 'X 132 'number)(set-and-coerce-property! '邪惡豬 'Y 187 'number))\\n(def (p$移動位置3 ) (set-and-coerce-property! '邪惡豬 'X 247 'number)(set-and-coerce-property! '邪惡豬 'Y 187 'number))\\n(def (p$移動位置4 ) (set-and-coerce-property! '邪惡豬 'X 16 'number)(set-and-coerce-property! '邪惡豬 'Y 138 'number))\\n(def (p$移動位置5 ) (set-and-coerce-property! '邪惡豬 'X 132 'number)(set-and-coerce-property! '邪惡豬 'Y 138 'number))\\n(def (p$移動位置6 ) (set-and-coerce-property! '邪惡豬 'X 237 'number)(set-and-coerce-property! '邪惡豬 'Y 138 'number))\\n(def (p$移動位置7 ) (set-and-coerce-property! '邪惡豬 'X 31 'number)(set-and-coerce-property! '邪惡豬 'Y 91 'number))\\n(def (p$儲存最佳分數 ) (if (call-yail-primitive yail-equal? (*list-for-runtime* (get-var g$得分) (get-property '最佳分 'Text)) '(any any) \\\"=\\\") (begin #f)))\\n(def (p$移動位置8 ) (set-and-coerce-property! '邪惡豬 'X 131 'number)(set-and-coerce-property! '邪惡豬 'Y 91 'number))\\n(def (p$移動位置9 ) (set-and-coerce-property! '邪惡豬 'X 235 'number)(set-and-coerce-property! '邪惡豬 'Y 138 'number))\\n(def g$得分 0)\\n(def (p$取得最佳分數 ) (set-and-coerce-property! '最佳分 'Text 'text))\\n;;; Screen1\\n\\n(do-after-form-creation (set-and-coerce-property! 'Screen1 'AlignHorizontal 3 'number)\\n (set-and-coerce-property! 'Screen1 'AppName \\\"\\\\u6253\\\\u64ca\\\\u90aa\\\\u60e1\\\\u8c6c\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'BackgroundColor #x00FFFFFF 'number)\\n (set-and-coerce-property! 'Screen1 'Icon \\\"badpigges.png\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'ScreenOrientation \\\"portrait\\\" 'text)\\n (set-and-coerce-property! 'Screen1 'Scrollable #t 'boolean)\\n)\\n\\n(define-event Screen1 Initialize()(set-this-form)\\n ((get-var p$初始化) ))\\n;;; 遊戲開始畫面\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.VerticalArrangement 遊戲開始畫面 \\n(set-and-coerce-property! '遊戲開始畫面 'AlignHorizontal 3 'number)\\n\\n(set-and-coerce-property! '遊戲開始畫面 'AlignVertical 2 'number)\\n\\n(set-and-coerce-property! '遊戲開始畫面 'Height 370 'number)\\n\\n(set-and-coerce-property! '遊戲開始畫面 'Width -2 'number)\\n\\n(set-and-coerce-property! '遊戲開始畫面 'Visible #f 'boolean)\\n\\n)\\n\\n;;; 遊戲開始_按鈕\\n\\n(add-component 遊戲開始畫面 com.google.appinventor.components.runtime.Button 遊戲開始_按鈕 \\n(set-and-coerce-property! '遊戲開始_按鈕 'BackgroundColor #x00FFFFFF 'number)\\n\\n(set-and-coerce-property! '遊戲開始_按鈕 'Image \\\"start.png\\\" 'text)\\n\\n)\\n\\n(define-event 遊戲開始_按鈕 Click()(set-this-form)\\n (set-and-coerce-property! '遊戲開始畫面 'Visible #f 'boolean)(set-and-coerce-property! '遊戲畫面 'Visible #t 'boolean)(set-and-coerce-property! 'Screen1 'BackgroundColor -16777216 'number)(set-and-coerce-property! 'Screen1 'BackgroundImage \\\"\\\" 'text)(set-and-coerce-property! '邪惡豬 'Enabled #t 'boolean)(set-and-coerce-property! '遊戲時間 'TimerEnabled #t 'boolean)(set-and-coerce-property! '九個洞_背景 'BackgroundImage \\\"back.jpg\\\" 'text))\\n;;; 遊戲畫面\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.VerticalArrangement 遊戲畫面 \\n(set-and-coerce-property! '遊戲畫面 'AlignHorizontal 3 'number)\\n\\n(set-and-coerce-property! '遊戲畫面 'Width -2 'number)\\n\\n)\\n\\n;;; 紀錄分數布景\\n\\n(add-component 遊戲畫面 com.google.appinventor.components.runtime.HorizontalArrangement 紀錄分數布景 \\n(set-and-coerce-property! '紀錄分數布景 'AlignHorizontal 2 'number)\\n\\n(set-and-coerce-property! '紀錄分數布景 'BackgroundColor #xFF000000 'number)\\n\\n(set-and-coerce-property! '紀錄分數布景 'Width -2 'number)\\n\\n)\\n\\n;;; 最佳分數_標籤\\n\\n(add-component 紀錄分數布景 com.google.appinventor.components.runtime.Label 最佳分數_標籤 \\n(set-and-coerce-property! '最佳分數_標籤 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '最佳分數_標籤 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! '最佳分數_標籤 'Text \\\"\\\\u6b77\\\\u53f2\\\\u7d00\\\\u9304:\\\" 'text)\\n\\n(set-and-coerce-property! '最佳分數_標籤 'TextColor #xFFFFFFFF 'number)\\n\\n)\\n\\n;;; 最佳分\\n\\n(add-component 紀錄分數布景 com.google.appinventor.components.runtime.Label 最佳分 \\n(set-and-coerce-property! '最佳分 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '最佳分 'FontSize 17 'number)\\n\\n(set-and-coerce-property! '最佳分 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! '最佳分 'Text \\\"0\\\" 'text)\\n\\n(set-and-coerce-property! '最佳分 'TextColor #xFFFFFF00 'number)\\n\\n)\\n\\n;;; 分數:_標籤\\n\\n(add-component 紀錄分數布景 com.google.appinventor.components.runtime.Label 分數:_標籤 \\n(set-and-coerce-property! '分數:_標籤 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '分數:_標籤 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! '分數:_標籤 'Text \\\"\\\\u5206\\\\u6578:\\\" 'text)\\n\\n(set-and-coerce-property! '分數:_標籤 'TextColor #xFFFFFFFF 'number)\\n\\n)\\n\\n;;; 得分\\n\\n(add-component 紀錄分數布景 com.google.appinventor.components.runtime.Label 得分 \\n(set-and-coerce-property! '得分 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '得分 'FontSize 17 'number)\\n\\n(set-and-coerce-property! '得分 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! '得分 'Text \\\"0\\\" 'text)\\n\\n(set-and-coerce-property! '得分 'TextColor #xFFFFFF00 'number)\\n\\n)\\n\\n;;; 遊戲畫面布景\\n\\n(add-component 遊戲畫面 com.google.appinventor.components.runtime.VerticalArrangement 遊戲畫面布景 \\n(set-and-coerce-property! '遊戲畫面布景 'AlignHorizontal 3 'number)\\n\\n(set-and-coerce-property! '遊戲畫面布景 'AlignVertical 2 'number)\\n\\n(set-and-coerce-property! '遊戲畫面布景 'Height 300 'number)\\n\\n(set-and-coerce-property! '遊戲畫面布景 'Width -2 'number)\\n\\n)\\n\\n;;; 九個洞_背景\\n\\n(add-component 遊戲畫面布景 com.google.appinventor.components.runtime.Canvas 九個洞_背景 \\n(set-and-coerce-property! '九個洞_背景 'BackgroundColor #x00FFFFFF 'number)\\n\\n(set-and-coerce-property! '九個洞_背景 'BackgroundImage \\\"back.jpg\\\" 'text)\\n\\n(set-and-coerce-property! '九個洞_背景 'Height 290 'number)\\n\\n(set-and-coerce-property! '九個洞_背景 'Width 300 'number)\\n\\n)\\n\\n;;; 邪惡豬\\n\\n(add-component 九個洞_背景 com.google.appinventor.components.runtime.ImageSprite 邪惡豬 \\n(set-and-coerce-property! '邪惡豬 'Picture \\\"Piggies.png\\\" 'text)\\n\\n(set-and-coerce-property! '邪惡豬 'X 10 'number)\\n\\n(set-and-coerce-property! '邪惡豬 'Y 181 'number)\\n\\n)\\n\\n(define-event 邪惡豬 Touched($x $y)(set-this-form)\\n (set-var! g$得分 (call-yail-primitive + (*list-for-runtime* (get-var g$得分) 1 ) '(number number ) \\\"+\\\"))(set-and-coerce-property! '得分 'Text (get-var g$得分) 'text)(set-and-coerce-property! '邪惡豬 'Picture \\\"Touched.png\\\" 'text)(call-component-method '得分_音效 'Play (*list-for-runtime*) '()))\\n;;; 重新開始\\n\\n(add-component 遊戲畫面 com.google.appinventor.components.runtime.Button 重新開始 \\n(set-and-coerce-property! '重新開始 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '重新開始 'Width -2 'number)\\n\\n(set-and-coerce-property! '重新開始 'Text \\\"\\\\u91cd\\\\u65b0\\\\u958b\\\\u59cb\\\" 'text)\\n\\n(set-and-coerce-property! '重新開始 'Visible #f 'boolean)\\n\\n)\\n\\n(define-event 重新開始 Click()(set-this-form)\\n ((get-var p$初始化) ))\\n;;; 時間倒數\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Label 時間倒數 \\n(set-and-coerce-property! '時間倒數 'FontBold #t 'boolean)\\n\\n(set-and-coerce-property! '時間倒數 'FontSize 37 'number)\\n\\n(set-and-coerce-property! '時間倒數 'HasMargins #f 'boolean)\\n\\n(set-and-coerce-property! '時間倒數 'TextColor #xFFCCCCCC 'number)\\n\\n)\\n\\n;;; 遊戲時間\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Clock 遊戲時間 \\n(set-and-coerce-property! '遊戲時間 'TimerEnabled #f 'boolean)\\n\\n)\\n\\n(define-event 遊戲時間 Timer()(set-this-form)\\n (set-var! g$倒數計時 0)(set-and-coerce-property! '時間倒數 'Text 'text)(if (call-yail-primitive \\u003c= (*list-for-runtime* (get-var g$倒數計時) 0) '(number number) \\\"\\u003c=\\\") (begin ((get-var p$遊戲結束) )((get-var p$儲存最佳分數) ))))\\n;;; 得分_音效\\n\\n(add-component Screen1 com.google.appinventor.components.runtime.Sound 得分_音效 \\n(set-and-coerce-property! '得分_音效 'Source \\\"coin.mp3\\\" 'text)\\n\\n)\\n\\n(init-runtime)\"},\"settings\":\"{\\\"SimpleSettings\\\":{\\\"AccentColor\\\":\\\"\\u0026HFFFF4081\\\",\\\"ActionBar\\\":\\\"False\\\",\\\"AppName\\\":\\\"\\\\u6253\\\\u64ca\\\\u90aa\\\\u60e1\\\\u8c6c\\\",\\\"Icon\\\":\\\"badpigges.png\\\",\\\"PhoneTablet\\\":\\\"False\\\",\\\"PrimaryColor\\\":\\\"\\u0026HFF3F51B5\\\",\\\"PrimaryColorDark\\\":\\\"\\u0026HFF303F9F\\\",\\\"ShowHiddenComponents\\\":\\\"False\\\",\\\"ShowListsAsJson\\\":\\\"False\\\",\\\"Sizing\\\":\\\"Fixed\\\",\\\"Theme\\\":\\\"Classic\\\",\\\"TutorialURL\\\":\\\"\\\",\\\"UsesLocation\\\":\\\"False\\\",\\\"VersionCode\\\":\\\"1\\\",\\\"VersionName\\\":\\\"1.0\\\"}}\"}","created_at":"2019-11-29T02:03:31.611+08:00","updated_at":"2019-11-29T02:34:41.239+08:00","name":"BadPigges_Sa","language":"appinventor","screenshot":{"url":null},"parent_id":110034,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":58,"hashid":"gk4s2ey4","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1873674,"file_name":"Piggies.png","project_id":110035,"asset_id":165685,"created_at":"2019-11-29T02:34:04.232+08:00","updated_at":"2019-11-29T02:34:04.232+08:00"},{"id":1873675,"file_name":"Touched.png","project_id":110035,"asset_id":165686,"created_at":"2019-11-29T02:34:04.237+08:00","updated_at":"2019-11-29T02:34:04.237+08:00"},{"id":1873676,"file_name":"back.jpg","project_id":110035,"asset_id":165687,"created_at":"2019-11-29T02:34:04.242+08:00","updated_at":"2019-11-29T02:34:04.242+08:00"},{"id":1873677,"file_name":"background.jpg","project_id":110035,"asset_id":165688,"created_at":"2019-11-29T02:34:04.247+08:00","updated_at":"2019-11-29T02:34:04.247+08:00"},{"id":1873678,"file_name":"background.png","project_id":110035,"asset_id":165689,"created_at":"2019-11-29T02:34:04.251+08:00","updated_at":"2019-11-29T02:34:04.251+08:00"},{"id":1873679,"file_name":"bad.png","project_id":110035,"asset_id":165690,"created_at":"2019-11-29T02:34:04.258+08:00","updated_at":"2019-11-29T02:34:04.258+08:00"},{"id":1873680,"file_name":"badpigges.png","project_id":110035,"asset_id":165691,"created_at":"2019-11-29T02:34:04.265+08:00","updated_at":"2019-11-29T02:34:04.265+08:00"},{"id":1873681,"file_name":"coin.mp3","project_id":110035,"asset_id":165692,"created_at":"2019-11-29T02:34:04.270+08:00","updated_at":"2019-11-29T02:34:04.270+08:00"},{"id":1873682,"file_name":"start.png","project_id":110035,"asset_id":165693,"created_at":"2019-11-29T02:34:04.275+08:00","updated_at":"2019-11-29T02:34:04.275+08:00"},{"id":1873683,"file_name":"timesup.png","project_id":110035,"asset_id":165694,"created_at":"2019-11-29T02:34:04.280+08:00","updated_at":"2019-11-29T02:34:04.280+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦