{"options": {"runner": {"environment": "road", "timeout": 100, "move_duration": 400, "rotation_duration": 200, "map": [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 0, 0, 1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1, 0, 0, 1], [1, 3, 0, 1, 1, 1, 1, 0, 0, 2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "start_direction": 0, "boat_start_direction": null}, "blockly": {"maxBlocks": 9}, "blocks": {"road_forward": {"previous_statement": true, "next_statement": true, "colour": 160, "tooltip": "Avancer d'une case tout droit", "inputs": [{"type": "dummy_input", "fields": [{"text": "Avancer de 1 case", "type": "text"}], "align": "left"}]}, "base_ifelse": {"previous_statement": true, "next_statement": true, "colour": 210, "tooltip": "Execute une suite d'instructions si une condition est v\u00e9rifi\u00e9 ou une autre sinon", "inputs": [{"type": "value_input", "fields": [{"text": "Si", "type": "text"}], "align": "left", "name": "cond", "check": "Boolean"}, {"type": "statement_input", "fields": [], "align": "left", "name": "code_if", "check": null}, {"type": "dummy_input", "fields": [{"text": "Sinon", "type": "text"}], "align": "left"}, {"type": "statement_input", "fields": [], "align": "left", "name": "code_else", "check": null}]}, "road_surroundingcaseroad": {"compound": {"blocks": {"road_surroundingcase": {"output": "Boolean", "colour": 210, "tooltip": "Test le type d'une case autour de la position courante", "inputs": [{"type": "dummy_input", "fields": [{"text": "la case", "type": "text"}, {"name": "dir", "values": [["en face", "front"], ["\u00e0 gauche", "left"], ["\u00e0 droite", "right"], ["derri\u00e8re", "back"]], "type": "dropdown"}, {"text": "est", "type": "text"}, {"name": "case_type", "values": [["une route", "road"], ["de l'herbe", "grass"]], "type": "dropdown"}], "align": "left"}], "inline": true}}, "ast": {"type": "road_surroundingcase", "case_type": "road"}}, "output": "Boolean", "colour": 210, "tooltip": "Test le type d'une case autour de la position courante est une route", "inline": true}, "road_turnright": {"previous_statement": true, "next_statement": true, "colour": 160, "tooltip": "Tourner \u00e0 droite", "inputs": [{"type": "dummy_input", "fields": [{"text": "Tourner \u00e0 droite \u21b7", "type": "text"}], "align": "left"}]}, "base_simplerepeattimes": {"compound": {"blocks": {"base_numberinput": {"output": "Number", "colour": 260, "tooltip": "Fourni un nombre", "inputs": [{"type": "dummy_input", "fields": [{"name": "value", "default": 0.0, "type": "number_input"}], "align": "left"}]}, "base_repeattimes": {"previous_statement": true, "next_statement": true, "colour": 120, "tooltip": "Execute une suite d'instructions un certain nombre de fois", "inputs": [{"type": "value_input", "fields": [{"text": "R\u00e9p\u00e9ter", "type": "text"}], "align": "left", "name": "ntimes", "check": "Number"}, {"type": "dummy_input", "fields": [{"text": "fois", "type": "text"}], "align": "left"}, {"type": "statement_input", "fields": [], "align": "left", "name": "code_repeat", "check": null}], "inline": true}}, "ast": {"type": "base_repeattimes", "ntimes": {"type": "base_numberinput", "alias": {"value": "ntimes"}}}}, "previous_statement": true, "next_statement": true, "colour": 120, "tooltip": "Execute une suite d'instructions un certain nombre de fois", "inline": true}, "base_start": {"next_statement": true, "colour": 65, "tooltip": "D\u00e9marrage de l'algorithme", "inputs": [{"type": "dummy_input", "fields": [{"text": "Au d\u00e9marrage", "type": "text"}], "align": "left"}], "creatable": false, "on_event": "start"}, "road_turnleft": {"previous_statement": true, "next_statement": true, "colour": 160, "tooltip": "Tourner \u00e0 gauche", "inputs": [{"type": "dummy_input", "fields": [{"text": "Tourner \u00e0 gauche \u21b6", "type": "text"}], "align": "left"}]}}, "toolbox": [{"type": "base_ifelse"}, {"type": "road_forward"}, {"type": "road_surroundingcaseroad"}, {"type": "road_turnleft"}, {"type": "road_turnright"}]}, "ast": [[{"type": "base_start", "deletable": false, "editable": false}, {"type": "base_simplerepeattimes", "code_repeat": [], "ntimes": 7.0, "deletable": false, "movable": false, "editable": false}]]}