-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 12.7 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id=";N#$On#jGxH?tW$%t?H2">bird</variable><variable id="BDwF~C[s*Pa;B=P+yR!0">obstacles</variable><variable id="k!M`GEf~!(2FH(aI%7P1">obstacle2</variable><variable id="A+~)bIdZ%P!{c_*TAnl%">ticks</variable><variable id="HOH0}h4|omf9ciUm=gd.">emptyObstacleY</variable><variable id="JEb2lE)cv~h30b]cudkx">index2</variable><variable id="wf4|FX#9pc8sAhxa3*cg">obstacle3</variable><variable id="1Q8Y^neH}jAYJ4dI^7ak">index</variable></variables><block type="pxt-on-start" id="RJ]hs)+3jH%21]OP#[kY" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="Q8eI~C#IGp!koRX*csnt"><field name="VAR" id="1Q8Y^neH}jAYJ4dI^7ak">index</field><value name="VALUE"><shadow type="math_number" id="teecd+;v2eyp7e`gP42["><field name="NUM">0</field></shadow></value><next><block type="variables_set" id=":$qNyhv|9D|8tV2WrVyP"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field><value name="VALUE"><shadow type="math_number" id="k6oBU;GZpy`3B*gdSS3E"><field name="NUM">0</field></shadow><block type="lists_create_with" id="~s4Qf$DJB]4fyEqpe{Ha"><mutation items="0" horizontalafter="3"></mutation></block></value><next><block type="variables_set" id="TOJ:pQ4K/F6,~g?QFE*n"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field><value name="VALUE"><shadow type="math_number" id="=+~+vFJMoF[YUFwCp;x3"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="cxt`[OOV}toWp#i)Zh!h"><value name="x"><shadow type="math_number" id="cF:sP89qEPU]X_i{Q.^2"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number" id="bzzo6i|U-jy9jN]gCIr1"><field name="NUM">2</field></shadow></value></block></value><next><block type="game_sprite_set_property" id="rvBLQp:k{K{644owjj}x"><field name="property">LedSpriteProperty.Blink</field><value name="sprite"><block type="variables_get" id="%Bq`CHRi`.t0[[btU+Gn"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field></block></value><value name="value"><shadow type="math_number" id="-I2hwC6F3jUSe!rR1#t,"><field name="NUM">300</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id=";/sXd`zNh@:XzB7uK~m9" x="547" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="8%#M@x6[XX4_sg,u:s:W"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="k#/v$$Sdm+O#6PAX.rS-"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field></block></value><value name="value"><shadow type="math_number" id="yaMADD[TNVw*wUXbt,]G"><field name="NUM">-1</field></shadow></value></block></statement></block><block type="device_button_event" id="t,OZb7lNcR{IdU0?_JN2" x="944" y="0"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="game_sprite_change_xy" id="_L0qWf(:nRrMnXoMoy2l"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="qDiv8?g~twbZ?;rl^8UX"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field></block></value><value name="value"><shadow type="math_number" id="[s]TBSbWYmQghUs.P7^x"><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_forever" id="6R)6o1fv0LrS!sp6=%dn" x="1337" y="0"><statement name="HANDLER"><block type="device_while" id="e?K1PdMwy%pTu^V3T6Qh"><value name="COND"><shadow type="logic_boolean" id="VFIA%(7N(Y/$uI(T06S%"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="+JS0[*ZKAUx.pM})3;~W"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean" id="Hk=50/RA$NCvZoP7zGfv"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qBxuP@=rHd5R#AM1~jP/"><field name="OP">GT</field><value name="A"><shadow type="math_number" id="V:5~KJa2Nm5oO.lov.Xr"><field name="NUM">0</field></shadow><block type="lists_length" id="J!N!xcE-!``xtJwrN%;~"><value name="VALUE"><block type="variables_get" id="=`jl^oYXqsXeU60-F8`a"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value></block></value><value name="B"><shadow type="math_number" id=")8~jSM7,i7cybzOlwhk!"><field name="NUM">0</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean" id="F[`XKfTJ.k{/^mdno;p#"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="LF7Jp-Ifa1`R{z$miEHy"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="Xx_0!OG?30_{}{azTc/m"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="iA3HN}yhV-A.oEZjwUu%"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="lists_index_get" id="SOnZ6Q{k1(7!e4tx_)0k"><value name="LIST"><block type="variables_get" id="]ZX|d%ybA0fZ~$=i#Sl!"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value><value name="INDEX"><shadow type="math_number" id="2;eH*^d}?a6IN_)mxN~R"><field name="NUM">0</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="ng!|n!2I!*RmomO%azhA"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO"><block type="game_delete_sprite" id="iyN{j1?,3KRR3b:c/x1B"><value name="this"><block type="array_removeat" id="1rba,n}:ynN,`Pf0E5xt"><value name="list"><block type="variables_get" id="8/|:ZgYp!J^H4O]r[(8-"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value><value name="index"><shadow type="math_number" id="_#u_w4x[7HmGhCfNVpXo"><field name="NUM">0</field></shadow></value></block></value></block></statement><next><block type="pxt_controls_for_of" id="D78!uVesw?b6VpeWvc8I"><value name="VAR"><block type="variables_get_reporter" id="9/|i.}IFnn}dQp~JG9h!"><mutation duplicateondrag="true"></mutation><field name="VAR" id="k!M`GEf~!(2FH(aI%7P1">obstacle2</field></block></value><value name="LIST"><block type="variables_get" id="0nGbhlZVeb1)2g`oVw$f"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value><statement name="DO"><block type="game_sprite_change_xy" id="ZO_USi~UFTt.,/{)4q::"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="[b-H+7x$GPDGbm$Sal@N"><field name="VAR" id="k!M`GEf~!(2FH(aI%7P1">obstacle2</field></block></value><value name="value"><shadow type="math_number" id="#j9O_ER.zpbwJ:PhvELK"><field name="NUM">-1</field></shadow></value></block></statement><next><block type="controls_if" id="0hnp4CIjV75F7w?lVe:+"><value name="IF0"><shadow type="logic_boolean" id="h!v%j;$B)/2a~u^|d#:+"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="JWhOw3%dgx/Efi$z-w!M"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="nXiut`pm[-HmyMX4HTC+"><field name="NUM">0</field></shadow><block type="math_modulo" id="~U|IdPH(o``.v0b!Jjh3"><value name="DIVIDEND"><shadow type="math_number" id="LMd*{VEr%B|+-?h7z=.R"><field name="NUM">0</field></shadow><block type="variables_get" id="0hj9SLa/u?hHxZv(4xY}"><field name="VAR" id="A+~)bIdZ%P!{c_*TAnl%">ticks</field></block></value><value name="DIVISOR"><shadow type="math_number" id="S!WY?;i*s}*3sePI2zH]"><field name="NUM">3</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="/{WLoLJ^{|GV`qzY@JMn"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="V$7gB1P].z.2J)BaAiCT"><field name="VAR" id="HOH0}h4|omf9ciUm=gd.">emptyObstacleY</field><value name="VALUE"><shadow type="math_number" id="cWXUs_;5b[kmqSz)+cSX"><field name="NUM">0</field></shadow><block type="device_random" id="D;KfYv1m4NM=/,dhF:D5"><value name="min"><shadow type="math_number" id="AfH?cB`O1sVHSqYha@`m"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="xRpt]ZoAwl5^:@R}l@(:"><field name="NUM">4</field></shadow></value></block></value><next><block type="pxt_controls_for" id="nY~8G7]@Ep^+%0(nm`rC"><value name="VAR"><block type="variables_get_reporter" id="ykYrS!fqE69D)uviivcu"><mutation duplicateondrag="true"></mutation><field name="VAR" id="JEb2lE)cv~h30b]cudkx">index2</field></block></value><value name="TO"><shadow type="math_whole_number" id="TK*]-i}e9;[pq}CfrNtK"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="controls_if" id="m,~Y/L*0MH0kAWBEEXj{"><value name="IF0"><shadow type="logic_boolean" id="vMWbjDwL.F{bOa-2h{`1"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="j~UIQr+!f[t-3)M#6Hke"><field name="OP">NEQ</field><value name="A"><shadow type="math_number" id=":VXM5W3-M#i*XP;R|%,p"><field name="NUM">0</field></shadow><block type="variables_get" id="2Uq`@WA*)6B`=+.z4vkv"><field name="VAR" id="JEb2lE)cv~h30b]cudkx">index2</field></block></value><value name="B"><shadow type="math_number" id="WwHzGOcD1156Qn.}hkQF"><field name="NUM">0</field></shadow><block type="variables_get" id="-blX`M07YC[S6t~u#rqN"><field name="VAR" id="HOH0}h4|omf9ciUm=gd.">emptyObstacleY</field></block></value></block></value><statement name="DO0"><block type="array_push" id="uZs:/ZjQRk;T:~20(~k."><value name="list"><block type="variables_get" id="NKTXfNGqux0T^6_,Cs}k"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value><value name="value"><block type="game_create_sprite" id="FL:{b(gwyyEvs]{lg2pU"><value name="x"><shadow type="math_number" id="cl|tbuB!,;tp=C/C_T-v"><field name="NUM">4</field></shadow></value><value name="y"><block type="variables_get" id="Qk04A_`H)pDX$UqG$w@3"><field name="VAR" id="JEb2lE)cv~h30b]cudkx">index2</field></block></value></block></value></block></statement></block></statement></block></next></block></statement><next><block type="pxt_controls_for_of" id="nz(-91hbOB!`n/Q6fd%G"><value name="VAR"><block type="variables_get_reporter" id="i`O94Y=Mb{jKzofS+Xr2"><mutation duplicateondrag="true"></mutation><field name="VAR" id="wf4|FX#9pc8sAhxa3*cg">obstacle3</field></block></value><value name="LIST"><block type="variables_get" id="tn.vv$Gk(#S[acs7-e^f"><field name="VAR" id="BDwF~C[s*Pa;B=P+yR!0">obstacles</field></block></value><statement name="DO"><block type="controls_if" id="P8zT!)dP#(_G6eyk+S%7"><value name="IF0"><shadow type="logic_boolean" id="_L`lmiJm.qqj?n:NlYX["><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="$[W:b%7{59xNZp(lg1N~"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean" id="2i!`Ob5[Xe[n*oS;qJL9"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="}bv*R;a|H`cr6Ro(HtdH"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="{nom%Q%=l.{s[S%d-h?O"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="IvmXpvZT$L}gy;^a;3B~"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="$2@[HeAc.$ija|VdwXl)"><field name="VAR" id="wf4|FX#9pc8sAhxa3*cg">obstacle3</field></block></value></block></value><value name="B"><shadow type="math_number" id="-U,Ylgz.vDWw%%uq`8?."><field name="NUM">0</field></shadow><block type="game_sprite_property" id="*{a%Z)uQV;3t:gzVm4RC"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="##pp{{A_F[$$U8uAQJ:3"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field></block></value></block></value></block></value><value name="B"><shadow type="logic_boolean" id="rt=1:qxciw0kvT7igujS"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="u;[27}OkkB.0Wst*lxFw"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="Cv?sLdO(Vs--%6GOuMs+"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="iz@U$wF3AOZ[#M}+oUe7"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="4-ZL+k7-tcH+/%`Nzwy."><field name="VAR" id="wf4|FX#9pc8sAhxa3*cg">obstacle3</field></block></value></block></value><value name="B"><shadow type="math_number" id="}.2Jwfh(.wQ61Kr}Cgtj"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="VWL}tfKgRe4+}6@Nof|X"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="^dq-43PeF?uV%1[-w/Vi"><field name="VAR" id=";N#$On#jGxH?tW$%t?H2">bird</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="game_game_over" id="udx=@vEbZQhj(7P~MGmC"></block></statement></block></statement><next><block type="variables_change" id="Bf;HT(JF{cch%m0?x,Jb"><field name="VAR" id="A+~)bIdZ%P!{c_*TAnl%">ticks</field><value name="VALUE"><shadow type="math_number" id="c77[EB/aGt$L/2v62VA%"><field name="NUM">1</field></shadow></value><next><block type="device_pause" id="Z^`8lQvcKqtY/JbBQXvM"><value name="pause"><shadow type="timePicker" id="am`[~.#jL9RqeFP$#pnk"><field name="ms">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>