Skip to content

Commit

Permalink
skull symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
tianchrist committed Nov 15, 2023
1 parent 8728b07 commit 363e621
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file modified .github/makecode/blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/makecode/blocksdiff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.blocks
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="?t.5!gsp{==QcykcPLwW">sprite</variable><variable id="`]0|CH!o,k.[#AQ=|N7.">catchme</variable><variable id="mbpRA!1h)xq]_P8e@XFJ">punkte</variable><variable id="(X0cRieo2|r28MsLa_4W">leben</variable></variables><block type="pxt-on-start" id="xRRgvHNlG#rZ^u`HECiY" x="20" y="20"><statement name="HANDLER"><block type="variables_set" id="a4u]:[QI^;DQOk`UUblf"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="*OR]P%YJmevQuX21Uo_0"><value name="x"><shadow type="math_number" id="+ml=*`z*pg-AwEuufZS-"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number" id="6VTxs{5aDP8OwC+qA?dQ"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="umWL#,_oOYh|nZ,WXWa-"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field><value name="VALUE"><shadow type="math_number" id="bwA|5pZKmL)Ch.Q5:.IY"><field name="NUM">3</field></shadow></value><next><block type="basic_show_icon" id="jt{UX9Y.QurTk+s2)(:-"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><field name="i">IconNames.Heart</field><next><block type="device_show_number" id="e-qQ@cI}h09)[u9C:r*t"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="G9DY#Zs?1+kq[Bi?Py9V"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value></block></next></block></next></block></next></block></statement></block><block type="device_button_selected_event" id="uHm;VjaxlJdw~fkmNbpT" x="724" y="20"><field name="NAME">Button.A</field><value name="eventType"><shadow type="control_button_event_click" id="kR}CI%oR6z6#VnKH3(;F"/></value><statement name="HANDLER"><block type="game_sprite_change_xy" id="pY^4LvX1O#Z?C:CFT:jN"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="jpTV^2XbQobKViJx/8(]"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value><value name="value"><shadow type="math_number" id="zZdxOa_[JX!2@udG`Zt3"><field name="NUM">-1</field></shadow></value></block></statement></block><block type="device_button_selected_event" id="RV,UG2+r]vL{sOOLSPa!" x="1177" y="20"><field name="NAME">Button.B</field><value name="eventType"><shadow type="control_button_event_click" id="Hrig`}8M]Yye-]u2ph`^"/></value><statement name="HANDLER"><block type="game_sprite_change_xy" id="A-O!qJ4m2(30TP3p8Q0:"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="nVdyh0IdcT=/[iEP)Akj"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value><value name="value"><shadow type="math_number" id="7@9*`w]YJhPsb;m%iT-#"><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_forever" id="3d,DPVFJe~(Ti=!q.Eay" x="1630" y="20"><statement name="HANDLER"><block type="variables_set" id="b/jL[!Z_+N:8!rmZ=lgS"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="W7Nnn7EF7@5L#P[^0xh["><value name="x"><block type="device_random" id="l_x,I/nraN|0Hu+4,rlL"><value name="min"><shadow type="math_number" id="Y%eA;K:Qy68|HQ{JzB|Z"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="|7$@oj?]~|Uw*#+;6+?x"><field name="NUM">4</field></shadow></value></block></value><value name="y"><shadow type="math_number" id="z4`hPfHBo2.DwWxK?pw/"><field name="NUM">0</field></shadow></value></block></value><next><block type="controls_repeat_ext" id="?VwryuJRVUvR_wf!h/4L"><value name="TIMES"><shadow type="math_whole_number" id="pXP#4Z/c:uO$U8X(#xF."><field name="NUM">4</field></shadow></value><statement name="DO"><block type="device_pause" id="wj}~I|@!F50Sv};bs)[#"><value name="pause"><shadow type="timePicker" id="G=!Dkk}C%7Eu9F,-XkD,"><field name="ms">500</field></shadow></value><next><block type="game_sprite_change_xy" id="I!SKQPJ2?q#8~@CLW:x?"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="4:8s^V4I*kjnx8W7#*6*"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value><value name="value"><shadow type="math_number" id="e1J(_/Z%O4UDZ|{ngCR)"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="controls_if" id="nFHB{z1a:;QINvGn@NF0"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="h|6(zzS4=4w_[d!e;mWU"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="5,LFa^V,vdDv5e20VdW-"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="3ga7=c-^,`U;*t%_pEB%"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="Ww*oM70|B]/Hdf,N___z"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="^zll*rNu-?/sAVQ1,SS;"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value></block></value></block></value><statement name="DO0"><block type="variables_change" id="hRO6Rkwz?DC(1q=a[5Go"><field name="VAR" id="mbpRA!1h)xq]_P8e@XFJ">punkte</field><value name="VALUE"><shadow type="math_number" id="HU0L_xV,@^a,:CSSH*Pa"><field name="NUM">1</field></shadow></value><next><block type="device_play_note" id="NU#aZ;_+/z,zEkkLd]Kc"><value name="note"><shadow type="device_note" id="gCx~#X)WKdfK5A~Lx]Ji"><field name="name">440</field></shadow></value><value name="duration"><shadow type="device_beat" id="D%`D,:B`,ne^$2mBoFQh"><field name="fraction">BeatFraction.Sixteenth</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="variables_change" id="aty!%qPLiqEv{m??.x|+"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field><value name="VALUE"><shadow type="math_number" id="s3WlWBuKz!v5@ebVI!4o"><field name="NUM">-1</field></shadow></value><next><block type="device_play_note" id="7/bd9W8e9;I,wwDJ4MtW"><value name="note"><shadow type="device_note" id="bd*k7.cJT4A]cuOh@6xi"><field name="name">247</field></shadow></value><value name="duration"><shadow type="device_beat" id="IIguaJ;LU6[#3XVD7$;O"><field name="fraction">BeatFraction.Whole</field></shadow></value><next><block type="controls_if" id="sg@1ML,B+:+-2fAZ31gZ"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="4HD1;;fbKT{X*-S@Y)sg"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="6eG)O04MkiWGc,Eo}Lpw"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value><value name="B"><shadow type="math_number" id="uq^2k2i_KouILP#r6)Ez"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="device_clear_display" id="soAdZ=5u0A%o]fW,(E%-"><next><block type="basic_show_icon" id="ZgYqW;=)m~D8Ne}Z3T_`"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><field name="i">IconNames.Heart</field><next><block type="device_show_number" id="PZC`f^/?gHE.qgn`C[$w"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="%[XUfnR}F%)q]AZf]o1e"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value><next><block type="device_pause" id="}^sp+NA3JQgw4Nvjg[J_"><value name="pause"><shadow type="timePicker" id="I-p]R1xfh0If/4L+zRi;"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="device_while" id="`%.L?i%.J5Ml.J5GlmCd"><value name="COND"><shadow type="logic_boolean" id="@.-3~vQ,Wu+~Af:^#,sz"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="device_print_message" id="o@F5;[^fj8RTS=:5-38W"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><value name="text"><shadow type="text" id=":Vh#1P,~I:}2q[!BgBEZ"><field name="TEXT">GAME OVER! PUNKTE:</field></shadow></value><value name="interval"><shadow type="math_number" id="xl)sVsMo?bpu{k{~;FMR"><field name="NUM">100</field></shadow></value><next><block type="device_show_number" id="F!hTNaJtq@zb1I3!-ry+"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="sX*p:?j332FPEb`HFQy$"><field name="VAR" id="mbpRA!1h)xq]_P8e@XFJ">punkte</field></block></value></block></next></block></statement></block></statement></block></next></block></next></block></statement><next><block type="game_delete_sprite" id="_#Ty6b}*h+}RBT@3jmd{"><value name="this"><block type="variables_get" id="Cxhe0oC2{)xEJ/Ox:De."><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value></block></next></block></next></block></next></block></statement></block></xml>
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="?t.5!gsp{==QcykcPLwW">sprite</variable><variable id="`]0|CH!o,k.[#AQ=|N7.">catchme</variable><variable id="mbpRA!1h)xq]_P8e@XFJ">punkte</variable><variable id="(X0cRieo2|r28MsLa_4W">leben</variable></variables><block type="pxt-on-start" id="xRRgvHNlG#rZ^u`HECiY" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="a4u]:[QI^;DQOk`UUblf"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="*OR]P%YJmevQuX21Uo_0"><value name="x"><shadow type="math_number" id="+ml=*`z*pg-AwEuufZS-"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number" id="6VTxs{5aDP8OwC+qA?dQ"><field name="NUM">4</field></shadow></value></block></value><next><block type="variables_set" id="umWL#,_oOYh|nZ,WXWa-"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field><value name="VALUE"><shadow type="math_number" id="bwA|5pZKmL)Ch.Q5:.IY"><field name="NUM">3</field></shadow></value><next><block type="basic_show_icon" id="jt{UX9Y.QurTk+s2)(:-"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><field name="i">IconNames.Heart</field><next><block type="device_show_number" id="e-qQ@cI}h09)[u9C:r*t"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="G9DY#Zs?1+kq[Bi?Py9V"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value></block></next></block></next></block></next></block></statement></block><block type="device_button_selected_event" id="uHm;VjaxlJdw~fkmNbpT" x="704" y="0"><field name="NAME">Button.A</field><value name="eventType"><shadow type="control_button_event_click" id="kR}CI%oR6z6#VnKH3(;F"/></value><statement name="HANDLER"><block type="game_sprite_change_xy" id="pY^4LvX1O#Z?C:CFT:jN"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="jpTV^2XbQobKViJx/8(]"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value><value name="value"><shadow type="math_number" id="zZdxOa_[JX!2@udG`Zt3"><field name="NUM">-1</field></shadow></value></block></statement></block><block type="device_button_selected_event" id="RV,UG2+r]vL{sOOLSPa!" x="1157" y="0"><field name="NAME">Button.B</field><value name="eventType"><shadow type="control_button_event_click" id="Hrig`}8M]Yye-]u2ph`^"/></value><statement name="HANDLER"><block type="game_sprite_change_xy" id="A-O!qJ4m2(30TP3p8Q0:"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="nVdyh0IdcT=/[iEP)Akj"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value><value name="value"><shadow type="math_number" id="7@9*`w]YJhPsb;m%iT-#"><field name="NUM">1</field></shadow></value></block></statement></block><block type="device_forever" id="3d,DPVFJe~(Ti=!q.Eay" x="1610" y="0"><statement name="HANDLER"><block type="variables_set" id="b/jL[!Z_+N:8!rmZ=lgS"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_create_sprite" id="W7Nnn7EF7@5L#P[^0xh["><value name="x"><block type="device_random" id="l_x,I/nraN|0Hu+4,rlL"><value name="min"><shadow type="math_number" id="Y%eA;K:Qy68|HQ{JzB|Z"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number" id="|7$@oj?]~|Uw*#+;6+?x"><field name="NUM">4</field></shadow></value></block></value><value name="y"><shadow type="math_number" id="z4`hPfHBo2.DwWxK?pw/"><field name="NUM">0</field></shadow></value></block></value><next><block type="controls_repeat_ext" id="?VwryuJRVUvR_wf!h/4L"><value name="TIMES"><shadow type="math_whole_number" id="pXP#4Z/c:uO$U8X(#xF."><field name="NUM">4</field></shadow></value><statement name="DO"><block type="device_pause" id="wj}~I|@!F50Sv};bs)[#"><value name="pause"><shadow type="timePicker" id="G=!Dkk}C%7Eu9F,-XkD,"><field name="ms">500</field></shadow></value><next><block type="game_sprite_change_xy" id="I!SKQPJ2?q#8~@CLW:x?"><field name="property">LedSpriteProperty.Y</field><value name="sprite"><block type="variables_get" id="4:8s^V4I*kjnx8W7#*6*"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value><value name="value"><shadow type="math_number" id="e1J(_/Z%O4UDZ|{ngCR)"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="controls_if" id="nFHB{z1a:;QINvGn@NF0"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="h|6(zzS4=4w_[d!e;mWU"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="5,LFa^V,vdDv5e20VdW-"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="3ga7=c-^,`U;*t%_pEB%"><field name="VAR" id="?t.5!gsp{==QcykcPLwW">sprite</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="game_sprite_property" id="Ww*oM70|B]/Hdf,N___z"><field name="property">LedSpriteProperty.X</field><value name="sprite"><block type="variables_get" id="^zll*rNu-?/sAVQ1,SS;"><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value></block></value></block></value><statement name="DO0"><block type="variables_change" id="hRO6Rkwz?DC(1q=a[5Go"><field name="VAR" id="mbpRA!1h)xq]_P8e@XFJ">punkte</field><value name="VALUE"><shadow type="math_number" id="HU0L_xV,@^a,:CSSH*Pa"><field name="NUM">1</field></shadow></value><next><block type="device_play_note" id="NU#aZ;_+/z,zEkkLd]Kc"><value name="note"><shadow type="device_note" id="gCx~#X)WKdfK5A~Lx]Ji"><field name="name">440</field></shadow></value><value name="duration"><shadow type="device_beat" id="D%`D,:B`,ne^$2mBoFQh"><field name="fraction">BeatFraction.Sixteenth</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="variables_change" id="aty!%qPLiqEv{m??.x|+"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field><value name="VALUE"><shadow type="math_number" id="s3WlWBuKz!v5@ebVI!4o"><field name="NUM">-1</field></shadow></value><next><block type="device_play_note" id="7/bd9W8e9;I,wwDJ4MtW"><value name="note"><shadow type="device_note" id="bd*k7.cJT4A]cuOh@6xi"><field name="name">247</field></shadow></value><value name="duration"><shadow type="device_beat" id="IIguaJ;LU6[#3XVD7$;O"><field name="fraction">BeatFraction.Whole</field></shadow></value><next><block type="controls_if" id="sg@1ML,B+:+-2fAZ31gZ"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="4HD1;;fbKT{X*-S@Y)sg"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="6eG)O04MkiWGc,Eo}Lpw"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value><value name="B"><shadow type="math_number" id="uq^2k2i_KouILP#r6)Ez"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="device_clear_display" id="soAdZ=5u0A%o]fW,(E%-"><next><block type="basic_show_icon" id="ZgYqW;=)m~D8Ne}Z3T_`"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><field name="i">IconNames.Heart</field><next><block type="device_show_number" id="PZC`f^/?gHE.qgn`C[$w"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="%[XUfnR}F%)q]AZf]o1e"><field name="VAR" id="(X0cRieo2|r28MsLa_4W">leben</field></block></value><next><block type="device_pause" id="}^sp+NA3JQgw4Nvjg[J_"><value name="pause"><shadow type="timePicker" id="I-p]R1xfh0If/4L+zRi;"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="device_while" id="`%.L?i%.J5Ml.J5GlmCd"><value name="COND"><shadow type="logic_boolean" id="@.-3~vQ,Wu+~Af:^#,sz"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="basic_show_icon" id="}07=]mdb*pNzNcz}Jd^N"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><field name="i">IconNames.Skull</field><value name="interval"><shadow type="math_number" id="4i~Mlw;0Gf3*B{yl6waK"><field name="NUM">800</field></shadow></value><next><block type="device_print_message" id="o@F5;[^fj8RTS=:5-38W"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="1" _input_init="true"></mutation><value name="text"><shadow type="text" id=":Vh#1P,~I:}2q[!BgBEZ"><field name="TEXT">SCORE:</field></shadow></value><value name="interval"><shadow type="math_number" id="xl)sVsMo?bpu{k{~;FMR"><field name="NUM">100</field></shadow></value><next><block type="device_show_number" id="F!hTNaJtq@zb1I3!-ry+"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="0" _input_init="false"></mutation><value name="number"><block type="variables_get" id="sX*p:?j332FPEb`HFQy$"><field name="VAR" id="mbpRA!1h)xq]_P8e@XFJ">punkte</field></block></value></block></next></block></next></block></statement></block></statement></block></next></block></next></block></statement><next><block type="game_delete_sprite" id="_#Ty6b}*h+}RBT@3jmd{"><value name="this"><block type="variables_get" id="Cxhe0oC2{)xEJ/Ox:De."><field name="VAR" id="`]0|CH!o,k.[#AQ=|N7.">catchme</field></block></value></block></next></block></next></block></next></block></statement></block></xml>
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ basic.forever(function () {
basic.pause(500)
} else {
while (true) {
basic.showString("GAME OVER! PUNKTE:", 100)
basic.showIcon(IconNames.Skull, 800)
basic.showString("SCORE:", 100)
basic.showNumber(punkte)
}
}
Expand Down

1 comment on commit 363e621

@tianchrist
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.