-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 36.8 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="h$ch%E8KxnWD.Yu_!=V0">x</variable><variable id=";2H#RS}9W6WZKzLG-)q*">game_over</variable><variable id="ySsG[id!.q%z}8{=V{!R">disable buttons</variable><variable id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</variable><variable id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</variable><variable id="cc5f6{fun]?Ldjriz(zk">Game_speed</variable><variable id="=Oj,O-u2h59[N#DxGg_x">Points</variable><variable id="+NW^|AOeWll_NZclfvkf">Cursor's lightness</variable><variable id="D5DQ+I]z$]lSy/GVc$(/">cursor_Y1</variable><variable id="#sYgf])PAP(D4s|l19jT">Dot_lightness</variable><variable id="%gUFuC}L$,)D16eg7oq1">y</variable><variable id=".J#}64XO,fz6U}mED%5*">y1</variable><variable id="?j@2!8p(bMKsEx0SQ0wH">x2</variable></variables><block type="pxt-on-start" id="UBQPh@:cXKX*Sg:0b2/." x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="bgWnB#t-Y|s?]4n]}|0S"><field name="VAR" id="+NW^|AOeWll_NZclfvkf">Cursor's lightness</field><value name="VALUE"><shadow type="math_number" id="7*nb.kJh_8b^RE|vNR[6"><field name="NUM">80</field></shadow></value><next><block type="variables_set" id="4iVMWDoU_Gr=Wlw0~2Wk"><field name="VAR" id="#sYgf])PAP(D4s|l19jT">Dot_lightness</field><value name="VALUE"><shadow type="math_number" id="]w?Edc,g5x,[email protected]`?kL"><field name="NUM">10</field></shadow></value><next><block type="variables_set" id="Szf@w?Otx4xwZw/#T}E]"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field><value name="VALUE"><shadow type="math_number" id="Rjhg7(nPd!TcFw7GE5.c"><field name="NUM">0</field></shadow></value><next><block type="device_set_brightness" id="rFqqLc$I]@q6AEw_)B]6"><value name="value"><shadow type="math_number_minmax" id="FpMD5|18NIjDTP/Y?jxk"><mutation min="0" max="255" label="Value" precision="0"></mutation><field name="SLIDER">80</field></shadow></value><next><block type="led_set_display_mode" id="AF?WVKLtzS+VVjE$u7*J"><field name="mode">DisplayMode.BlackAndWhite</field><next><block type="function_call" id="@~ywCY4dx(dk97Bj;cT="><mutation name="New Game" functionid="Nk}(hzN@3t3S.?-?C{yo"></mutation></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="$:_VgorT@n:r@gDPsNm%" x="367" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="controls_if" id="rf7XCv/Zx6Yn)ih-[Q(/"><mutation elseif="1" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="%ywF+}lnCF(($sQ!.AxE"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value><statement name="DO0"><block type="function_call" id="1(75jY5Pe%*p*frB]@7t"><mutation name="New Game" functionid="Nk}(hzN@3t3S.?-?C{yo"></mutation></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="[5GN.J~ZGv8rslc[};G6"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field></block></value><statement name="ELSE"><block type="controls_if" id="lbnh3:f`FG^S8TXnIb@i"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="k!BFVxX{Z@x%7=Qc)H_@"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=",.$|jrwb:R|N:%yb7sTN"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="22GG$*o^*,q!2%9.QPZg"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="B"><shadow type="math_number" id="R@3^$lMrJw#l%fIHP!ym"><field name="NUM">0</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="XNTv=Nr.R5HjKScD01@d"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="y$cVWNyXA7zs_BW:pBCU"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="o13VR~?u[OJIWVu{w_28"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="/)?PXH*/eRG1MmR74ly7"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="B"><shadow type="math_number" id="BU%=c.:KH{/T1)TxlopY"><field name="NUM">1</field></shadow></value></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="s2g6idDft?ZTZPgu!L@s"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="device_unplot" id="1^}pv]-yDn0i3=q;Bb!M"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="V_BkiFt?x!:M6]`#TLMy"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id=":xks}Syl(L+_^{8Nz46$"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><next><block type="variables_change" id="akn!;gfe0X,2IH^A}UMM"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field><value name="VALUE"><shadow type="math_number" id="cL^2,`-ca0#{(Bp7`jrL"><field name="NUM">-1</field></shadow></value><next><block type="function_call" id="C?9!L]wh18?4^?h^J-F#"><mutation name="Display cursor" functionid="rPv9*eyn]{lb,BIl-`tV"></mutation></block></next></block></next></block></statement></block></statement></block></statement></block><block type="device_button_event" id="Gm]Z@s]X_A3#3i7-8ioa" x="1443" y="0"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="controls_if" id="BA.}~*)4QR5n7UEyreh?"><mutation elseif="1" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="w$!((ch,rzwZY9R6B[Cu"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value><statement name="DO0"><block type="function_call" id="Dd|]p(tsn(C~4MZ,xAS|"><mutation name="New Game" functionid="Nk}(hzN@3t3S.?-?C{yo"></mutation></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="-*wEeekkO}gK^Aw/rR^q"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field></block></value><statement name="ELSE"><block type="controls_if" id="hvraj#(iy$Jhtp~x~?)!"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="a]:E?c/ZM8g`*[-L+$V6"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="VPtr%^1;(T2,gZ3drK,x"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=")N|@3NQhFklBppqi/%YG"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="B"><shadow type="math_number" id="z5ZsUFDX2N[-@,S6?w1i"><field name="NUM">4</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="!6=)}T.AbEb2OA9zx`.6"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="oHhY6eN!lFG0LO?M2$|("><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="?6B6lmY6w#HQ.=S0#Tjv"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="x[ePJMaDCB.H?aQLZ{r+"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="B"><shadow type="math_number" id="-hEB0sUd:wTFs__G0fTT"><field name="NUM">1</field></shadow></value></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="pdR:jm1O{1!Zz+*/V+y^"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="device_unplot" id="{){MBn]]WeaOY~mRyV1e"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="ryc~?DF(0IC)$80SVt$I"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="=z_-9G},CS4vqDW7_ayN"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><next><block type="variables_change" id="fGTd37SJ+#/X0?Dov0Il"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field><value name="VALUE"><shadow type="math_number" id="5ei_S{o?AYPX1tSeTgz("><field name="NUM">1</field></shadow></value><next><block type="function_call" id="K$a9.W]cq)MFtLJqgpT:"><mutation name="Display cursor" functionid="rPv9*eyn]{lb,BIl-`tV"></mutation></block></next></block></next></block></statement></block></statement></block></statement></block><block type="device_forever" id="zwE^xP!vZ(/:[^FbPFmD" x="2518" y="0"><statement name="HANDLER"><block type="device_pause" id="0FV:7AcDq4Y3b)30wFF%"><value name="pause"><shadow type="timePicker"></shadow><block type="variables_get" id="e,AnK7OS|),RPyMP..-1"><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field></block></value><next><block type="controls_if" id="!75;`2{b9s%:6/]155,["><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="[Lp]em;g_ISFtqAPz2[%"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="A7,Ww(,=kZp[Eo55-2dC"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="tN!@?=6I:PDxNgkyjEB!"><field name="VAR" id="D5DQ+I]z$]lSy/GVc$(/">cursor_Y1</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="!MJ!nfPU!Qel#bh7f`B1"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="vL!orAY,;bG)aiWT+xwN"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><value name="B"><shadow type="math_number" id="ZS6oTl(iP?+AdF}#iD;?"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if" id="jSXCvqiC7w6B=-jhUDk_"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="t-nD)S$jcK.`6Bc#u@(t"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="(~__]ZLDoIq.(CdBK2g~"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="X;CT1I0o2AF7f~z/TZJ|"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><value name="B"><shadow type="math_number" id=";/X,F*kiv/Nu=i;Di9Nw"><field name="NUM">4</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="+`[]K=q,jeOIW%mnDU{Q"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="avFAb6r9{KYpWAn./Jdr"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="Exe^%nm1}IbrJ0Ml3|{F"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="aqCc8j?}i(8HNzK~nRb/"><field name="VAR" id="D5DQ+I]z$]lSy/GVc$(/">cursor_Y1</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="device_unplot" id="kl(C)hciw7EOEkXPwO^f"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="`%|L{Q~Mqv?CKv[NXp!^"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="-iv`KvTILMpM)iy^ww6Y"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><next><block type="variables_set" id="p@Q3[JyYE/-cYl9mrAtO"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="%8G@hOL(`_x!by9_LnP="><field name="VAR" id="D5DQ+I]z$]lSy/GVc$(/">cursor_Y1</field></block></value><next><block type="device_plot_brightness" id="m;PMlO5!Bncb?fbbRuU]"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="kk}4:vsn~z#I@JTFflQ;"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="6(~t:fs|D!bMZFyv*IUF"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><value name="brightness"><shadow type="math_number_minmax"><mutation min="0" max="255"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="R7KFAv#tGaUmUaITMwl1"><field name="VAR" id="+NW^|AOeWll_NZclfvkf">Cursor's lightness</field></block></value></block></next></block></next></block></statement><statement name="ELSE"><block type="device_plot_brightness" id=",_.:~{L.2u.~%:77n)%N"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="LY_J9Dn*$e)Rw]?XqzNr"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="*pJ4oE5[3ja#n62T(eC["><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><value name="brightness"><shadow type="math_number_minmax"><mutation min="0" max="255"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="A73I_d{T$Zu(1;|5T;8_"><field name="VAR" id="#sYgf])PAP(D4s|l19jT">Dot_lightness</field></block></value><next><block type="controls_if" id="gMjWt_$)b1,20fdsWo@R"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="function_call_output" id="k-0BD*#TO69H9lV13;wq"><mutation name="Can a line be dropped?" functionid="y|RGC~dd?EIN(v~)UOdc"><arg name="test_y" id="i5lwo0c9u5xo1haa5rks" type="number"></arg></mutation><value name="i5lwo0c9u5xo1haa5rks"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get" id="uLlEy)4!Pde/J-2#a-Ug"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="4DQ4.^2:^/Aum,OqPJxX"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field><value name="VALUE"><shadow type="math_number" id="c9eK`c@CAt!oar}xR0iu"><field name="NUM">1</field></shadow></value><next><block type="function_call" id="l)coTLjTy}|8^.P,UKc5"><mutation name="Drop a line" functionid="v_04@j+}=~%ki`R;gQx:"><arg name="line_y" id="u4BE80gZAEy{Rc0o9AYv" type="number"></arg></mutation><value name="u4BE80gZAEy{Rc0o9AYv"><shadow type="math_number" id="$?ns#+Lr-w/fQbgWZFkX"><field name="NUM">1</field></shadow><block type="variables_get" id="`w+mUQ6]o._UqL3DJ(iA"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><next><block type="variables_set" id="nm6dy`:3|zNf+?%UbyY*"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field><value name="VALUE"><shadow type="math_number" id="ZV)OYy`C~2NJn,ZHv;=I"><field name="NUM">0</field></shadow></value></block></next></block></next></block></statement><next><block type="function_call" id="+Cq66Hcjz-X=9AI7%Ip0"><mutation name="Reset Cursor's position" functionid="q_Jp%Xojfw_%#35L:=@("></mutation></block></next></block></next></block></statement></block></next></block></statement></block></next></block></statement></block><block type="function_definition" id="gofJtfB^E2II[8).8fBq" x="-1" y="390"><mutation name="New Game" functionid="Nk}(hzN@3t3S.?-?C{yo"></mutation><field name="function_name">New Game</field><statement name="STACK"><block type="device_clear_display" id="]h?,3+R4KnRvLDG}lLCn"><next><block type="variables_set" id="Q{fvp-a-}uGw6D(uB1.c"><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field><value name="VALUE"><shadow type="math_number" id="^CbVJ/NxOmz,*L965u^|"><field name="NUM">700</field></shadow></value><next><block type="variables_set" id="?vqpWD_4VFayj0*aUa$5"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field><value name="VALUE"><shadow type="math_number" id="s%duJQh6JA3qlod`n5Q^"><field name="NUM">0</field></shadow></value><next><block type="function_call" id="[/9+gywURdhCY47U_A+Q"><mutation name="Reset Cursor's position" functionid="q_Jp%Xojfw_%#35L:=@("></mutation><next><block type="variables_set" id="?^.R!a0T](l1(@@2lAbR"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field><value name="VALUE"><shadow type="math_number" id="d-@fw{10f.yeKFU+_1aZ"><field name="NUM">0</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="device_gesture_event" id="Y0Tt/*]?~f#L/e|Qr7mZ" x="893" y="556"><field name="NAME">Gesture.ScreenDown</field><statement name="HANDLER"><block type="controls_if" id="bm6G:J(3Wj_z4yil]]US"><value name="IF0"><shadow type="logic_boolean" id="5}Cg)kxx5F}mw%l=9UbK"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="n;d,CPg.s~]6FvUmC^HO"><field name="OP">AND</field><value name="A"><block type="logic_negate" id="GZMY`ld)sHyT=kn)i}RY"><value name="BOOL"><block type="variables_get" id=";V[CHUjV[57oJ#cX4?ca"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value></block></value><value name="B"><block type="logic_compare" id="c7D/V@wM8bs+1a[:20jK"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="yI1Cjgri|)+*nb(/%[v2"><field name="NUM">0</field></shadow><block type="variables_get" id=")A%8B$:2C~?;n}`E[9MX"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field></block></value><value name="B"><shadow type="math_number" id="a$(WXkp2PR4|I[5,q4M#"><field name="NUM">10</field></shadow></value></block></value></block></value><statement name="DO0"><block type="variables_set" id="S}CH;a%ox.0wn`L^eWF5"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field><value name="VALUE"><shadow type="math_number" id="(^)ARZd-9rE[{hXumzIL"><field name="NUM">1</field></shadow></value><next><block type="device_clear_display" id="^S7po4Nl/[erb^DByYVq"><next><block type="device_while" id="8`GjOT=z#`j$0=*U-){`"><value name="COND"><shadow type="logic_boolean" id="=CFL_];2dA8Nspx}}P?x"><field name="BOOL">FALSE</field></shadow><block type="logic_compare" id="m*Ot{.SX8cje,]8U%Y%q"><field name="OP">LT</field><value name="A"><shadow type="math_number" id="#c,#*8G?b|j0Rx]-(WpW"><field name="NUM">0</field></shadow><block type="variables_get" id="8-yBP93`IBlK{3qQ@8u-"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field></block></value><value name="B"><shadow type="math_number" id="?VNksL`[fX^=evoazW]^"><field name="NUM">10</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="F3sBI-8c8%lVZrPy;8Ny"><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="b!#ZjPJQgVh58$F_x9T4"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="?[Y=ZlN.`-V#mzyxO}0M"><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field></block></value><value name="B"><shadow type="math_number" id="ZqOUbqY3RU2h0c#A_rAk"><field name="NUM">0.9</field></shadow></value></block></value><next><block type="variables_change" id="xRHGlvo!~2oTiZUZ6`)D"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field><value name="VALUE"><shadow type="math_number" id="]q6zzKn4jKfpRs;=jVX9"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="function_call" id="!i_DROL+!o5/3$;N_TAo"><mutation name="Reset Cursor's position" functionid="q_Jp%Xojfw_%#35L:=@("></mutation><next><block type="function_call" id="[hl6zP-m.[j,Hxz9o0=j"><mutation name="Display cursor" functionid="rPv9*eyn]{lb,BIl-`tV"></mutation><next><block type="variables_set" id="COovs[?u/EjtX)XG_sa."><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field><value name="VALUE"><shadow type="math_number" id="ptJ+okP=[Dk/oj0MhC=!"><field name="NUM">0</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block><block type="function_definition" id="HjU1?$Q_BVZkei.-UU2p" x="1655" y="644"><mutation name="Drop a line" functionid="v_04@j+}=~%ki`R;gQx:"><arg name="line_y" id="u4BE80gZAEy{Rc0o9AYv" type="number"></arg></mutation><field name="function_name">Drop a line</field><value name="u4BE80gZAEy{Rc0o9AYv"><shadow type="argument_reporter_number" id="Ka]~vp1BWCq^|r=x{)`m"><field name="VALUE">line_y</field></shadow></value><statement name="STACK"><block type="variables_set" id="]W$mwK!qPxIxBE%)aC#U"><field name="VAR" id="%gUFuC}L$,)D16eg7oq1">y</field><value name="VALUE"><shadow type="math_number" id="tL=,-FW!r|r+e9kp%Bfg"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="6[M5elxqs?BqgC})Y}Mh"><field name="VALUE">line_y</field></block></value><next><block type="device_while" id="~,pI7~`/P;;bzq_K+JjD"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="uY+Mx0x!3zF?_j7vbCYI"><field name="OP">GTE</field><value name="A"><shadow type="math_number" id="x^e%E2lk|%1}LX@60T-8"><field name="NUM">0</field></shadow><block type="variables_get" id="=aU,$EW^2]eY{1Wpj5tb"><field name="VAR" id="%gUFuC}L$,)D16eg7oq1">y</field></block></value><value name="B"><shadow type="math_number" id="{ybGRge,X5dY/)ctAfoi"><field name="NUM">0</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="#Y:tO2UiQMMn*EtRNH{j"><field name="VAR" id=".J#}64XO,fz6U}mED%5*">y1</field><value name="VALUE"><shadow type="math_number" id="{]c717ypDSP28}{HLXll"><field name="NUM">0</field></shadow><block type="variables_get" id="6~I5=a}5k)j0)=n82aYu"><field name="VAR" id="%gUFuC}L$,)D16eg7oq1">y</field></block></value><next><block type="variables_change" id="_u*SSh%~Z/Oo`xqPYGLd"><field name="VAR" id="%gUFuC}L$,)D16eg7oq1">y</field><value name="VALUE"><shadow type="math_number" id="^1AF{dmxDxyQ]GKx`3?s"><field name="NUM">-1</field></shadow></value><next><block type="pxt_controls_for" id="W@8mp!EZR=Zg5kI@tWL#"><value name="VAR"><shadow type="variables_get_reporter" id="h[kI(IlrT.7#)Lw1`3*#"><field name="VAR" id="?j@2!8p(bMKsEx0SQ0wH">x2</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="vX86o/YKmC|j+4VvZ^?i"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="controls_if" id="n([email protected]:^LTO,g"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="cH)@Kd}A;Xf/{?S;3?j!"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="g-G!5#ZE+{ZOC:1PF,Hk"><field name="VAR" id="?j@2!8p(bMKsEx0SQ0wH">x2</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="waEmQd5,Zjggi57n%%aO"><field name="VAR" id="%gUFuC}L$,)D16eg7oq1">y</field></block></value></block></value><statement name="DO0"><block type="device_plot_brightness" id="(V9va1*XuRH7Ypz3KAL("><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="iEe62vZ)L4:=g/T2[[?@"><field name="VAR" id="?j@2!8p(bMKsEx0SQ0wH">x2</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="j9$|DS+_:.%3hi[7HBD6"><field name="VAR" id=".J#}64XO,fz6U}mED%5*">y1</field></block></value><value name="brightness"><shadow type="math_number_minmax"><mutation min="0" max="255"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="86!@tvziu@L4A*LX)AX@"><field name="VAR" id="#sYgf])PAP(D4s|l19jT">Dot_lightness</field></block></value></block></statement><statement name="ELSE"><block type="device_unplot" id="iaXT:G%(Yn=bE3gL1ijW"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="|}D%M#dS0PTWz4IgBn*v"><field name="VAR" id="?j@2!8p(bMKsEx0SQ0wH">x2</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="0{l6E*lht5I~nEo|uN!]"><field name="VAR" id=".J#}64XO,fz6U}mED%5*">y1</field></block></value></block></statement></block></statement></block></next></block></next></block></statement><next><block type="music_playable_play" id="`-8o;GCs,|.;d5#64OP1"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="A=}r~:=sam2ssd.BH)(1"><value name="melody"><shadow type="melody_editor" id=":B-ej7=:kL@`B{PM6-]-"><field name="melody">"G F A - - - - - "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="k,)rFn_dso{W;=4:]==e"><mutation min="40" max="500" label="Number" precision="0"></mutation><field name="SLIDER">500</field></shadow></value></shadow></value><next><block type="variables_set" id="aPoZO{Yq_TvL4#[J`XG["><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="=?fE2t|LZr{gQ{)3_E4S"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!X+XWW^O+(xG1%V7u[0^"><field name="VAR" id="cc5f6{fun]?Ldjriz(zk">Game_speed</field></block></value><value name="B"><shadow type="math_number" id="PCFIG}sk:z]3-Q#}+tq~"><field name="NUM">0.9</field></shadow></value></block></value><next><block type="variables_change" id="HJeXFx6I4nG;`J3FJ+{f"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field><value name="VALUE"><shadow type="math_number" id="c.^G%o,O2X-a,GMN-5w^"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="L+~h4F2fOQ|uog!$e|cF" x="1" y="767"><mutation name="Game Over" functionid=".xXhFKH:PC.p42`:/cB["></mutation><field name="function_name">Game Over</field><statement name="STACK"><block type="music_playable_play" id="L_=Z*U`X;g=we1!!F|dj"><field name="playbackMode">music.PlaybackMode.UntilDone</field><value name="toPlay"><shadow type="music_string_playable" id="dkJbpSy5tp(}C#~|nV5J"><value name="melody"><shadow type="melody_editor" id="wR5[^Qjx]_,wg]iF~%_["><field name="melody">"C - C - C - C C5 "</field></shadow></value><value name="bpm"><shadow type="math_number_minmax" id="sslMw/LiG#gS!$A#/ty@"><mutation min="40" max="500" label="Number" precision="0"></mutation><field name="SLIDER">500</field></shadow></value></shadow></value><next><block type="variables_set" id="-A^ib5pyWr!;N~q=$DY?"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field><value name="VALUE"><shadow type="math_number" id="pJp2Zm`o{,,QQN0;Zs=c"><field name="NUM">1</field></shadow></value><next><block type="device_while" id="A|Zn~aXP1JaQ}a#`LG]z"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="apJ1`.g9`llHUG3SBWFq"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value><statement name="DO"><block type="variables_set" id="#gj;b7k2(G@k6#c333#p"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field><value name="VALUE"><shadow type="math_number" id="1iRK1V(=j`[dyg,_Ih!D"><field name="NUM">1</field></shadow></value><next><block type="device_show_number" id="+*qcm:eK`-r24OdDw^vf"><value name="number"><block type="variables_get" id="N^1{bSvge|xIy9%t)pxx"><field name="VAR" id="=Oj,O-u2h59[N#DxGg_x">Points</field></block></value><next><block type="variables_set" id="Y5(hq96NyM09$t7q:u-y"><field name="VAR" id="ySsG[id!.q%z}8{=V{!R">disable buttons</field><value name="VALUE"><shadow type="math_number" id="d{SVfWvN6p5Dwz;)(tj}"><field name="NUM">0</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></statement></block><block type="function_definition" id="`.BQ..L)_t.A%T!KZP0H" x="494" y="1044"><mutation name="Reset Cursor's position" functionid="q_Jp%Xojfw_%#35L:=@("></mutation><field name="function_name">Reset Cursor's position</field><statement name="STACK"><block type="variables_set" id="tNOj}|y!5}DLDSuqCs$g"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field><value name="VALUE"><shadow type="math_number" id="%z?DtB0p!CjM-29q0$6E"><field name="NUM">2</field></shadow></value><next><block type="variables_set" id="JR+XaL}#c#%AO-BO;R/d"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field><value name="VALUE"><shadow type="math_number" id="KP3p.?50Fje52Uu?P2M1"><field name="NUM">0</field></shadow></value><next><block type="controls_if" id=".hp3QJ4sol4IsE7Zlqyh"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="ROvBPq3eB@{Eskx:D37*"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id=":R}#,:[;MN1k(AhemY4N"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="VqRQ-{z[+Q3Xl%)DviFt"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value></block></value><statement name="DO0"><block type="controls_if" id="0UVMGb|Eop.Kn4QBytp9"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="8a#mk626~wXe-|HQC,}T"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="dgxrK3zb^x;;y$_rsTCA"><field name="VAR" id=";2H#RS}9W6WZKzLG-)q*">game_over</field></block></value></block></value><statement name="DO0"><block type="function_call" id="ytf}5*kK0G^@2Hdn2UGn"><mutation name="Game Over" functionid=".xXhFKH:PC.p42`:/cB["></mutation></block></statement><next><block type="function_return" id="nY?XH3662KBm`m?FE8HI"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="U`?MfLQc3t0c!7X=Yt-q"><field name="NUM">0</field></shadow></value></block></next></block></statement><next><block type="function_call" id="9[u9(-+^1B;e9Sl1oqQ["><mutation name="Display cursor" functionid="rPv9*eyn]{lb,BIl-`tV"></mutation><next><block type="function_return" id="7c_H=JiQ3P1S]vT_dL)8"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="kOj6l.ab`0`=ShC{%01~"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="F%KAwSdh;2p~(I{_Olt)" x="1" y="1232"><mutation name="Can a line be dropped?" functionid="y|RGC~dd?EIN(v~)UOdc"><arg name="test_y" id="i5lwo0c9u5xo1haa5rks" type="number"></arg></mutation><field name="function_name">Can a line be dropped?</field><value name="i5lwo0c9u5xo1haa5rks"><shadow type="argument_reporter_number" id="0Bjn]r)}.W[JHO?T,ll)"><field name="VALUE">test_y</field></shadow></value><statement name="STACK"><block type="pxt_controls_for" id="sbKX#C~x{T(fl!`Z{fLp"><value name="VAR"><shadow type="variables_get_reporter" id="DU*.i$}p;e7?K?c4yVQh"><field name="VAR" id="h$ch%E8KxnWD.Yu_!=V0">x</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="2q[B.C1o5B{+cFc_5dIU"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="controls_if" id="ER0(M{#AT@:eVD^FTA?}"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="kc{HT*%RF#bZX$UD1bT$"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="#QGmuv93#VZlUCi3b6{4"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="DkcR9d3[TwVoK17ztNWV"><field name="VAR" id="h$ch%E8KxnWD.Yu_!=V0">x</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="argument_reporter_number" id="ATZcUb2+s|b?p4J0Y;RE"><field name="VALUE">test_y</field></block></value></block></value></block></value><statement name="DO0"><block type="function_return" id="[8bA~^kf,hrO/ub;d)4M"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="`Qi;4$ar+mPJ1Us.0RF4"><field name="NUM">0</field></shadow></value></block></statement></block></statement><next><block type="function_return" id="G#}QXpx4l?dQ:e@4Eujh"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="893IMqu%HBfZES41t$99"><field name="NUM">1</field></shadow></value></block></next></block></statement></block><block type="function_definition" id=",.py6)0F!q0?n6otst;9" x="980" y="1190"><mutation name="Display cursor" functionid="rPv9*eyn]{lb,BIl-`tV"></mutation><field name="function_name">Display cursor</field><statement name="STACK"><block type="controls_if" id="uyBiWd=s8)W)GjDM!z],"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id=";}}]af}h:;cd;Mdk#[L["><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_point" id="${JpWcgU/~ny:s9ZeL%s"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="xjZ(w${L%|,FgKM3UxEF"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="W6b=XJ|y:(8^iB)I7#R="><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value></block></value></block></value><statement name="DO0"><block type="device_plot_brightness" id="-yNC2y-ahCwFmZRAS6hy"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="MeL@:4V69~pIaiX{jQ?,"><field name="VAR" id="NWndUk/Ah-kbh5{eP#LZ">cursor_X</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="{#3JRXzgyBn=,nd-hnZQ"><field name="VAR" id="@K+ZPV=PxEC{C7YwP#p!">cursor_Y</field></block></value><value name="brightness"><shadow type="math_number_minmax"><mutation min="0" max="255"></mutation><field name="SLIDER">0</field></shadow><block type="variables_get" id="ys]#JLPNs?wx~-g~UrP6"><field name="VAR" id="+NW^|AOeWll_NZclfvkf">Cursor's lightness</field></block></value></block></statement></block></statement></block></xml>