fix buzzer

This commit is contained in:
fredqian
2024-07-23 20:47:22 +08:00
parent 37f53a66e3
commit 43caecbae6
1189 changed files with 1948 additions and 1946 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"VO^M5`IthKa%hb]u!M?v\" x=\"298\" y=\"79\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"1K0o$35T{84d!qs9dXD6\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"*+,fms3T][PU|b8oN/`j\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"RDV-qGd3w9|u9:yFl%vs\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"turtle_pencolor\" id=\"9_%!gKsITU*e#4n7,6C0\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"/54t=xEr}9U*nq__5SAw\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fillcolor\" id=\"H7wG?[uqQnz:@bLU(eHw\"><field name=\"FIELDNAME\">#ffff00</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"qJ#7)={BM0)9G]ABRQ,j\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_fill\" id=\"t/0{W[Z0d$g:9E(Mi%/l\"><field name=\"DIR\">begin</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"`-srIh)VW$K07_Uk70m3\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_forEach\" id=\"bz7BPbcS]*)2+08j:Lbv\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"Wia/iGA]c=t-vIw5t/[w\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"K1vlI3DR8AWX3}{hR+c(\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"EUc9,+whLY{PPbKkAx%W\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"*|^GU(Q(|y3CqW73[Lx:\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\".)JX30%Agr7!WCHYk|32\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"s@BC9i]VRfZubEs-y3G?\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"u[kwS7w}m(cxQb-JeZNP\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"!K)_rw|%I[_y`@)`b+Ny\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"turtle_rotate\" id=\"Opth^t%/;KEAtt%vq-vg\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"w!-~No^!.vJ5UlJc6SNu\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"H;B=I556VmZHT%n!Wa:S\"><field name=\"NUM\">144</field></shadow></value></block></next></block></statement><next><block type=\"turtle_fill\" id=\"9|jVBpzEYbVZMv/)btSM\"><field name=\"DIR\">end</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"ebROw0M#.ce@mB$o6b(2\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"5;AB!2IO09-:?wySNqIr\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Y{XMh{oN0#zkRUp$v+GN\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"AQ)1H^k`!?5XbRWM?SX9\" x=\"198\" y=\"46\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"1X]Pa?A%t8)ZLWNa$;di\"><field name=\"VAR\">angle</field><value name=\"VALUE\"><block type=\"math_number\" id=\"z32!ttJ?=~7qdKI0z^Rv\"><field name=\"NUM\">72</field></block></value><next><block type=\"controls_forEach\" id=\"9!9q)Ox~o%Xx_hOgFm.6\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"ztXl$E#j?;NfRz-DhExz\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"#BjRzljIb`0X$Q!`PF=M\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"Y6[G$~;cbOyIKN@gF#ZI\"><field name=\"NUM\">5</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"8_r7_yoYXL+iL0d*l77x\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"8h(S3TD}~|AWSHz09j[S\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"T=%r^cz,LzpC!LkqDR]N\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"?!=c+G=r9=aFobsnyq~B\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"nqbbRI6A{SIX_,|7_]/%\"><field name=\"NUM\">120</field></shadow></value><next><block type=\"turtle_rotate\" id=\"|([N=;0UsyukepP]]zWU\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\";9N5~Fs!tA:|BGui[[Hi\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"/9z;*CLYREp_WU]ad}r4\"><field name=\"NUM\">90</field></shadow><block type=\"variables_get\" id=\"o_gZ6brO:1:mWGicR}W5\"><field name=\"VAR\">angle</field></block></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"d]pU+`]`!#D(/XJh}3qI\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"y+=yXR[o4W59cpkxl@#`\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"+3@kqgc;w$5TfPfb{u1`\" x=\"199\" y=\"64\"><field name=\"VAR\">tina</field><next><block type=\"variables_set\" id=\"8]YJ=)Cj2%xeJl(*0m5F\"><field name=\"VAR\">mygender</field><value name=\"VALUE\"><block type=\"text\" id=\"bxmgFu=FaLGR@S0js57:\"><field name=\"TEXT\">\u5973</field></block></value><next><block type=\"variables_set\" id=\"d81(O8@.{7vP7]a*WqH8\"><field name=\"VAR\">guess</field><value name=\"VALUE\"><block type=\"turtle_textinput\" id=\",!vz0r/%i{C,Q|9t~WR{\"><value name=\"TITLE\"><shadow type=\"text\" id=\"k*Ij_I59D^{o3ZJwc$17\"><field name=\"TEXT\">\u731C\u4E00\u731C</field></shadow></value><value name=\"PROMPT\"><shadow type=\"text\" id=\"k/xN!cwTPo`q6JIVGkO9\"><field name=\"TEXT\">\u731C\u4E00\u731C\u6211\u662F\u7537\u751F\u8FD8\u662F\u5973\u751F\uFF1F</field></shadow></value></block></value><next><block type=\"turtle_pencolor\" id=\"*Ju.ulc2Cv[).Ql41ifg\"><field name=\"FIELDNAME\">#ff0000</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"Jd4zl5J85uq3NKy7sInq\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"turtle_visible\" id=\"[fr/X|4i`0}0en=z`dZ{\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"#;s]}+:LP:Si)K8.MX1?\"><field name=\"VAR\">tina</field></shadow></value><next><block type=\"controls_if\" id=\"{}k~`]fu3Zk{sW~(%7?s\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"|{lD+tbc`pwF`FOw$c_o\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"RqVfR1R54N4zqMlb=T9(\"><field name=\"VAR\">mygender</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"w2iIrN8XolK7igU|#6Jw\"><field name=\"VAR\">guess</field></block></value></block></value><statement name=\"DO0\"><block type=\"turtle_write_format\" id=\"bs{J*{R-)|Hw3B2/BC)J\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"DSz(am=}jcAGJWyg4219\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"%[o_kVyJTY6gbi;x)(O(\"><field name=\"TEXT\">\u4F60\u771F\u68D2\uFF0C\u731C\u5BF9\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"1aUZmMx}/hD}+ul,`gXi\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"wn)=55d6dsj-O^BZ?l+L\"><field name=\"NUM\">20</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"turtle_write_format\" id=\"Ic-98j-y#Xc9%?^kdGKV\"><field name=\"MOVE\">False</field><field name=\"ALIGN\">left</field><field name=\"FONTTYPE\">normal</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"dC?7tBBZS@R3Kbz=4AdA\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"07r~|~pj/TlWCm+HhP#t\"><field name=\"TEXT\">\u5F88\u9057\u61BE\uFF0C\u731C\u9519\u4E86!</field></shadow></value><value name=\"FONTNAME\"><shadow type=\"text\" id=\"}u^PZS*y,Y7:`CO}LyHI\"><field name=\"TEXT\">\u9ED1\u4F53</field></shadow></value><value name=\"FONTNUM\"><shadow type=\"math_number\" id=\"jg^faTmdq:}]@IiwLvUa\"><field name=\"NUM\">20</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"354\" y=\"122\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">90</field></shadow></value></block></next></block></statement><next><block type=\"turtle_visible\" id=\"m$aUw7wmp.-v}B(Kk8Y#\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\",dN`CWcG8gg?0dJ@t[(^\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version=\"1.0\" board=\"mixpy\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"turtle_create\" id=\"4fe![FesO2tc5u`O:LTv\" x=\"208\" y=\"48\"><field name=\"VAR\">tina</field><next><block type=\"turtle_size\" id=\"-@U,U1r#s8O%VrYH_K$k\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\"poL3Y(W;pUO%2}2:(Nvh\"><field name=\"VAR\">tina</field></shadow></value><value name=\"data\"><shadow type=\"math_number\" id=\"17+)#[*kVmC=O`hR,~$T\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"lists_create_with_text\" id=\"rGj^?_sXZtK-3(HHy*@d\"><field name=\"VAR\">colorlist</field><field name=\"TEXT\">'red','blue','green','yellow'</field><next><block type=\"controls_forEach\" id=\"CcidvWlTmjzIPtjzt}7J\"><value name=\"LIST\"><shadow type=\"list_many_input\"><field name=\"CONTENT\">0,1,2,3</field></shadow><block type=\"controls_range\" id=\"[j:7|A(3m}op^w)@B(oH\"><value name=\"FROM\"><shadow type=\"math_number\" id=\"/VmA]W8YT|8:R.:Fu0ss\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"IG.#8|_WffZVWn(ElM/Y\"><field name=\"NUM\">50</field></shadow></value><value name=\"STEP\"><shadow type=\"math_number\" id=\"19*%,#Gbw-0jmGF8_O|F\"><field name=\"NUM\">1</field></shadow></value></block></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"SJl6V`U/ZkkGy9j[hzES\"><field name=\"VAR\">i</field></shadow></value><statement name=\"DO\"><block type=\"turtle_pencolor_hex\" id=\"@x_L?spAKP`KqG6i6n$)\"><value name=\"TUR\"><shadow type=\"variables_get\" id=\".p.~,@%lGGb~wq-d:r|?\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"text\" id=\"D9T?yOAZKPOUxaXJ6*h`\"><field name=\"TEXT\">FF0000</field></shadow><block type=\"lists_get_index\" id=\"+rUMoCyL:c)wdn~7afK}\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"!ra;zEj|W~*5I)%7~qe;\"><field name=\"VAR\">colorlist</field></shadow></value><value name=\"AT\"><shadow type=\"math_number\" id=\"1SnwZ~Y%bO.Hzr~bl/7f\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic\" id=\")?FLEKKuiB3g^z4zMK1E\"><field name=\"OP\">QUYU</field><value name=\"A\"><shadow type=\"math_number\" id=\"mp60,UYFws4*tvDzqtyZ\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"g|$n]ig].a8O79m7R,N(\"><field name=\"VAR\">i</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"+oOZ_w-FrKUHvD+1,4Oa\"><field name=\"NUM\">4</field></shadow></value></block></value></block></value><next><block type=\"turtle_move\" id=\"m.Kqy(B8R@mE=A)G}+M^\"><field name=\"DIR\">forward</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"IwO5IB20gi-%CRH7g}Mx\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"qkm2[?-(_=[0Lvnk!nZz\"><field name=\"NUM\">20</field></shadow><block type=\"math_arithmetic\" id=\"wf5t`h,1jF`KtR?8-[aL\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"rjX+7%QXc]Jf690=n3mh\"><field name=\"NUM\">4</field></shadow></value><value name=\"B\"><shadow type=\"math_number\" id=\"S{Oib@WgJteX#u2wB9+M\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"DsAP]N2`?Zn_+/{$zE%E\"><field name=\"VAR\">i</field></block></value></block></value><next><block type=\"turtle_rotate\" id=\"0@Iy3tATU88xQz_*{CEB\"><field name=\"DIR\">right</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\"drMLiWdzeB5o5Ce:!mSM\"><field name=\"VAR\">tina</field></shadow></value><value name=\"VAR\"><shadow type=\"math_number\" id=\"kZe@e^4Gp+E*F|7(T13R\"><field name=\"NUM\">91</field></shadow></value></block></next></block></next></block></statement><next><block type=\"turtle_visible\" id=\"7p~wz!DTPufd-Vmeq}X7\"><field name=\"DIR\">hideturtle</field><value name=\"TUR\"><shadow type=\"variables_get\" id=\")K.t*HC{/X15icAU5O%l\"><field name=\"VAR\">tina</field></shadow></value></block></next></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long