// This file was automatically generated from common.soy. // Please don't edit this file by hand. if (typeof apps == 'undefined') { var apps = {}; } apps.messages = function(opt_data, opt_ignored, opt_ijData) { return '
a visual programming environmentBlocklySee generated JavaScript code.Save and link to blocks.Run the program defined by the blocks in the workspace.Run ProgramResetOKCancelLogicLoopsMathTextListsColourVariablesProceduresThere was a problem with the request.Share your blocks with this link:\\n\\n%1Sorry, \'%1\' doesn\'t correspond with any saved program.Could not load your saved file. Perhaps it was created with a different version of Blockly?listtext
'; }; apps.dialog = function(opt_data, opt_ignored, opt_ijData) { return '
'; }; apps.codeDialog = function(opt_data, opt_ignored, opt_ijData) { return '
' + apps.ok(null, null, opt_ijData) + '
'; }; apps.storageDialog = function(opt_data, opt_ignored, opt_ijData) { return '
' + apps.ok(null, null, opt_ijData) + '
'; }; apps.ok = function(opt_data, opt_ignored, opt_ijData) { return '
'; }; ; // This file was automatically generated from template.soy. // Please don't edit this file by hand. if (typeof mazepage == 'undefined') { var mazepage = {}; } mazepage.messages = function(opt_data, opt_ignored, opt_ijData) { return apps.messages(null, null, opt_ijData) + '
move forwardturn leftturn rightdoelseIf-else blocks will do one thing or the other.if path aheadif path to the leftif path to the rightrepeat untilMoves the player forward one space.Turns the player left or right by 90 degrees.If there is a path in the specified direction, then do some actions.If there is a path in the specified direction, then do the first block of actions. Otherwise, do the second block of actions.Repeat the enclosed actions until finish point is reached.You have %0 blocks left.You have %1 block left.You have %2 blocks left.Congratulations! Are you ready to proceed to level %1?Congratulations! You have solved the final level.
'; }; mazepage.start = function(opt_data, opt_ignored, opt_ijData) { var output = mazepage.messages(null, null, opt_ijData) + '

Blockly : Maze   '; var iLimit163 = opt_ijData.maxLevel + 1; for (var i163 = 1; i163 < iLimit163; i163++) { output += ' ' + ((i163 == opt_ijData.level) ? '' + soy.$$escapeHtml(i163) + '' : (i163 < opt_ijData.level) ? '' : '' + soy.$$escapeHtml(i163) + ''); } output += '