-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 9.45 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</variable><variable id="gw?u~nn2?L*lU;[SsTAr">die_2</variable><variable id="PiVY9Y1YF#I7mV3ie};X">total</variable></variables><block type="pxt-on-start" id="[~EdGu;?UEro*)fTc|m3" x="0" y="0"><statement name="HANDLER"><block type="synth_set_volume" id="z,i~hUtqs[LP94+a9,2Z"><value name="volume"><shadow type="math_number_minmax" id="|T(UZl5U%V@V~J]o%X3["><mutation min="0" max="255" label="Number" precision="0"/><field name="SLIDER">128</field></shadow></value><next><block type="device_play_note" id="s!+}@XSm3GueOU!QZ358"><value name="note"><shadow type="device_note" id="xsZ:C3NQwOVG)NmoYBFp"><field name="name">262</field></shadow></value><value name="duration"><shadow type="device_beat" id="OF:[fv;Hbls]-fB;6K,="><field name="fraction">BeatFraction.Sixteenth</field></shadow></value><next><block type="basic_show_icon" id="B7^u8+-2N(I_;[/p;4C7"><field name="i">IconNames.Yes</field><next><block type="device_pause" id="{@0NJK?)j^5MaB0SQ60-"><value name="pause"><shadow type="timePicker" id="n_}:Yi3.ntc}vvQ2L|Xq"><field name="ms">200</field></shadow></value><next><block type="device_clear_display" id="7S53);dzhgTiEuj@CE3:"/></next></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="rx/`3~!ZY{}BnJqD6Wn3" x="3" y="378"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="device_play_note" id="aiBsf7L5Iz}ww^ujtaci"><value name="note"><shadow type="device_note" id=",W2Xu|pgUa*BN)ubZPiI"><field name="name">440</field></shadow></value><value name="duration"><shadow type="device_beat" id="hVRKRC7h`=CiL)!|[+81"><field name="fraction">BeatFraction.Quarter</field></shadow></value><next><block type="device_play_note" id="$c^o4qLmJ%_h0aGi;1{("><value name="note"><shadow type="device_note" id=")PU?H1VI{#G/+*3ZWTL+"><field name="name">494</field></shadow></value><value name="duration"><shadow type="device_beat" id=")~X~AA/4g5xtLF(T@R29"><field name="fraction">BeatFraction.Quarter</field></shadow></value><next><block type="device_play_note" id="nvF#%KgPi=Sk;},6f?4?"><value name="note"><shadow type="device_note" id="@`3aBoYw;kd8p3C)5Waf"><field name="name">523</field></shadow></value><value name="duration"><shadow type="device_beat" id="X;u]pP9%=qsz-l[iaW)="><field name="fraction">BeatFraction.Half</field></shadow></value><next><block type="variables_set" id="0ZYVZEj=|:)k7xJkur#,"><field name="VAR" id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id=";W`qo/m[~aPebaPaxvid"><value name="min"><shadow type="math_number" id="_fhzPu.e4wLB6A+e~Jn@"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="Hf7OSyW#4,Wg*tz}cjoK"><field name="NUM">6</field></shadow></value></block></value><next><block type="variables_set" id="MW$`Yp5=Rs1eB+gLz[n4"><field name="VAR" id="gw?u~nn2?L*lU;[SsTAr">die_2</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="_8uOiFS-%)]B;miql|B%"><value name="min"><shadow type="math_number" id="o2iU6ms:k~=L7CCDB6|S"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id="bf9PBj3PMwJ1GcIid=~h"><field name="NUM">6</field></shadow></value></block></value><next><block type="variables_set" id="1$SV.hR0o@)qLH{1`pYm"><field name="VAR" id="PiVY9Y1YF#I7mV3ie};X">total</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="Ua=4JkTJg8OY:l5(,4rk"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="L|g,0oeb(M9ZU~Fa?C7I"><field name="VAR" id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=";HSH[9B#Wh+,5k|vfH^j"><field name="VAR" id="gw?u~nn2?L*lU;[SsTAr">die_2</field></block></value></block></value><next><block type="serial_writeline" id="BrbXx.*L7~!_Y$N{x~hs"><value name="text"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="ssZh/+x]8xjEHEO*BDP}"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="u,kZ!x+WuSe|s{SG)Ua]"><field name="VAR" id="gw?u~nn2?L*lU;[SsTAr">die_2</field></block></value></block></value><next><block type="serial_writeline" id=";vZY+$e^53ZOdGb@#e3P"><value name="text"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="qomQd``a?/g-/=/9.LZ6"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="Ocv|mS0wj|l6M}IE47,f"><field name="VAR" id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</field></block></value></block></value><next><block type="serial_writeline" id="92/GD}AS3O1sLj5.^MCY"><value name="text"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="6!VsyOY+yr)`8Gu.dvs2"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id=";9`9c,gQHQLMSZpGZXvs"><field name="VAR" id="PiVY9Y1YF#I7mV3ie};X">total</field></block></value></block></value><next><block type="controls_if" id="^YbjRf5:E~AG,YYJ5m/9"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="{]#sESH/$46?yo_lY5Ol"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="DRUF6~]uEa+_)#ejhH7d"><field name="VAR" id="PiVY9Y1YF#I7mV3ie};X">total</field></block></value><value name="B"><shadow type="math_number" id="A|C5)%9uv?nMX4cDMX9$"><field name="NUM">7</field></shadow></value></block></value><statement name="DO0"><block type="serial_writeline" id="116=0`{]5NTQy*C%j{{#"><value name="text"><shadow type="text" id="_~I]%LIk;D@gZ1*fD74~"><field name="TEXT">Seven Thrown!</field></shadow></value></block></statement><next><block type="controls_if" id=",AUByeJ$B*Rh5oe*u8pG"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="G$H~ADQJIryuW~mVEy~l"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="f5/`rKei~d$!ZqM2#]?#"><field name="VAR" id="PiVY9Y1YF#I7mV3ie};X">total</field></block></value><value name="B"><shadow type="math_number" id="mcwl[;nGWD[65njAx`v{"><field name="NUM">11</field></shadow></value></block></value><statement name="DO0"><block type="serial_writeline" id="7amTiPE{QRR,LL;|oN7X"><value name="text"><shadow type="text" id="`G(u;oet=@5|MJg;x[76"><field name="TEXT">Eleven Thrown!</field></shadow></value></block></statement><next><block type="controls_if" id="I6jFBKfQh;UjAL`+QB~2"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="U11gs]v`3Omg{tn7nX,S"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="@,^@KNiaCewH{Bgo-f`x"><field name="VAR" id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="](fG*3f.ZK3W%!%BL1BF"><field name="VAR" id="gw?u~nn2?L*lU;[SsTAr">die_2</field></block></value></block></value><statement name="DO0"><block type="serial_writeline" id="KsLdlkhIA^rwZ/Tvnh}K"><value name="text"><shadow type="text" id="s=4=qEJ*uZkPDIv.WsR5"><field name="TEXT">Doubles Thrown!</field></shadow></value></block></statement><next><block type="serial_writeline" id="yeZ28MyJ0U,]HUg3[[A{"><value name="text"><shadow type="text" id=",lh+^`m+15M5604NWM(o"><field name="TEXT"/></shadow></value><next><block type="device_print_message" id="uuDhXZ}G,#vwUm8D_{v4"><value name="text"><block type="text_join" id="}l/eO0E+=Y*(fy6nm.Xq" inline="false"><mutation items="5"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="T[,O2w9YgU1M.5:e^DcQ"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="a5wUO6vZNn5hEH-mCeU*"><field name="VAR" id="ImFmMvS*|.Ef@Qs*Cu,,">die_1</field></block></value></block></value><value name="ADD1"><shadow type="text" id="268_9)uP[WpPsI.7p7a}"><field name="TEXT">+</field></shadow></value><value name="ADD2"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id=":-GM,_qYM_kif(v=qO5q"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="3G+{Y]`dZYy[-Qmd:{6H"><field name="VAR" id="gw?u~nn2?L*lU;[SsTAr">die_2</field></block></value></block></value><value name="ADD3"><shadow type="text" id="CI9LvjU({qaiH}HPNci2"><field name="TEXT">=</field></shadow></value><value name="ADD4"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="3l06DJf[SF-VwYSf3!`A"><mutation items="1"/><value name="ADD0"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="J#V+@2_PT-Rp=Sj@KSy5"><field name="VAR" id="PiVY9Y1YF#I7mV3ie};X">total</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>