<xml xmlns="http://www.w3.org/1999/xhtml"><block type="variables_set" x="63" y="13"><field name="VAR">ballx</field><value name="VALUE"><block type="math_number"><field name="NUM">0</field></block></value><next><block type="variables_set"><field name="VAR">bally</field><value name="VALUE"><block type="math_number"><field name="NUM">0</field></block></value><next><block type="variables_set"><field name="VAR">ballspeedx</field><value name="VALUE"><block type="math_number"><field name="NUM">1</field></block></value><next><block type="variables_set"><field name="VAR">ballspeedy</field><value name="VALUE"><block type="math_number"><field name="NUM">2</field></block></value><next><block type="variables_set"><field name="VAR">curitr</field><value name="VALUE"><block type="math_number"><field name="NUM">0</field></block></value><next><block type="variables_set"><field name="VAR">totalitr</field><value name="VALUE"><block type="text_prompt_ext"><mutation type="NUMBER"></mutation><field name="TYPE">NUMBER</field><value name="TEXT"><block type="text"><field name="TEXT">Iterations?</field></block></value></block></value><next><block type="variables_set"><field name="VAR">totaltext</field><value name="VALUE"><block type="text"><field name="TEXT"></field></block></value><next><block type="controls_whileUntil"><field name="MODE">WHILE</field><value name="BOOL"><block type="logic_compare"><field name="OP">GT</field><value name="A"><block type="variables_get"><field name="VAR">totalitr</field></block></value><value name="B"><block type="variables_get"><field name="VAR">curitr</field></block></value></block></value><statement name="DO"><block type="procedures_callnoreturn"><mutation name="iter"></mutation><next><block type="variables_set"><field name="VAR">totaltext</field><value name="VALUE"><block type="text_join"><mutation items="2"></mutation><value name="ADD0"><block type="variables_get"><field name="VAR">totaltext</field></block></value><value name="ADD1"><block type="text_join"><mutation items="4"></mutation><value name="ADD0"><block type="variables_get"><field name="VAR">ballx</field></block></value><value name="ADD1"><block type="text"><field name="TEXT">,</field></block></value><value name="ADD2"><block type="variables_get"><field name="VAR">bally</field></block></value><value name="ADD3"><block type="text"><field name="TEXT">;</field></block></value></block></value></block></value><next><block type="variables_set"><field name="VAR">curitr</field><value name="VALUE"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><block type="variables_get"><field name="VAR">curitr</field></block></value><value name="B"><block type="math_number"><field name="NUM">1</field></block></value></block></value></block></next></block></next></block></statement><next><block type="text_print"><value name="TEXT"><block type="variables_get"><field name="VAR">totaltext</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type="procedures_defnoreturn" x="788" y="13"><field name="NAME">iter</field><statement name="STACK"><block type="variables_set"><field name="VAR">ballx</field><value name="VALUE"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><block type="variables_get"><field name="VAR">ballx</field></block></value><value name="B"><block type="variables_get"><field name="VAR">ballspeedx</field></block></value></block></value><next><block type="variables_set"><field name="VAR">bally</field><value name="VALUE"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><block type="variables_get"><field name="VAR">bally</field></block></value><value name="B"><block type="variables_get"><field name="VAR">ballspeedy</field></block></value></block></value><next><block type="controls_if"><value name="IF0"><block type="logic_operation"><field name="OP">OR</field><value name="A"><block type="logic_compare"><field name="OP">LT</field><value name="A"><block type="variables_get"><field name="VAR">ballx</field></block></value><value name="B"><block type="math_number"><field name="NUM">0</field></block></value></block></value><value name="B"><block type="logic_compare"><field name="OP">GT</field><value name="A"><block type="variables_get"><field name="VAR">ballx</field></block></value><value name="B"><block type="math_number"><field name="NUM">16</field></block></value></block></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR">ballspeedx</field><value name="VALUE"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><block type="math_number"><field name="NUM">0</field></block></value><value name="B"><block type="variables_get"><field name="VAR">ballx</field></block></value></block></value></block></statement><next><block type="controls_if"><value name="IF0"><block type="logic_operation"><field name="OP">OR</field><value name="A"><block type="logic_compare"><field name="OP">LT</field><value name="A"><block type="variables_get"><field name="VAR">bally</field></block></value><value name="B"><block type="math_number"><field name="NUM">0</field></block></value></block></value><value name="B"><block type="logic_compare"><field name="OP">GT</field><value name="A"><block type="variables_get"><field name="VAR">bally</field></block></value><value name="B"><block type="math_number"><field name="NUM">16</field></block></value></block></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR">ballspeedy</field><value name="VALUE"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><block type="math_number"><field name="NUM">0</field></block></value><value name="B"><block type="variables_get"><field name="VAR">bally</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></statement></block></xml>