-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 2.68 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="@ss,k9JKaF~$,82Wh4L7">Hand</variable></variables><block type="pxt-on-start" id="a..lustI+9ym]`13e_68" x="0" y="0"/><block type="device_forever" id="ud6_lIlW4kEqeZXY;-Hz" x="205" y="0"/><block type="device_gesture_event" id="3Q4{P{JDRKODFe~!#QTb" x="424" y="6"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="variables_set" id="/({ohGam:=lGS@N68}i2"><field name="VAR" id="@ss,k9JKaF~$,82Wh4L7">Hand</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="km!ZAr[;u9lQLiDK^.9e"><value name="min"><shadow type="math_number" id="XE3:TItNpZ2G:x|NP/?l"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id=":0UKYeXch!V7Xi/EQB,V"><field name="NUM">3</field></shadow></value></block></value><next><block type="controls_if" id="esaT7Qr8tr$]:QufC_|y"><mutation elseif="1" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="*kZk3qTgI[/~icm#n14F"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="vjBk@Uz$j(:E1-bwSU(~"><field name="VAR" id="@ss,k9JKaF~$,82Wh4L7">Hand</field></block></value><value name="B"><shadow type="math_number" id="Q2N{w},p]mYzZRrR3.Yv"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="device_show_leds" id="4%)t.KIqO47J+?EPejIs"><field name="LEDS">` # # # # # # . . . # # . . . # # . . . # # # # # # `</field></block></statement><value name="IF1"><block type="logic_compare" id="-QN.-OJ)P6oIhQ#RM(N/"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="=GF^ZM;coX4|}8rr*xd)"><field name="VAR" id="@ss,k9JKaF~$,82Wh4L7">Hand</field></block></value><value name="B"><shadow type="math_number" id="?nC`$?W7%yKSwQYoaaR4"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="device_show_leds" id="*$Gg|CZ+-fbM/y5{gWq~"><field name="LEDS">` . . # . . . # # # . # # # # # . # # # . . . # . . `</field></block></statement><statement name="ELSE"><block type="device_show_leds" id="QI*3uX-n9KiE1YS7.W9D"><field name="LEDS">` # # . . # # # . # . . . # . . # # . # . # # . . # `</field></block></statement></block></next></block></statement></block></xml>