Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix level 74 new solution #1310

Merged
merged 1 commit into from
Feb 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion game/views/level_solutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def big():
"71": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="388" y="472"><next><block type="controls_repeat_until"><value name="condition"><block type="at_destination"></block></value><statement name="body"><block type="move_forwards"><next><block type="turn_right"><next><block type="controls_if"><value name="IF0"><block type="road_exists"><field name="CHOICE">LEFT</field></block></value><statement name="DO0"><block type="turn_left"></block></statement></block></next></block></next></block></statement></block></next></block></xml>',
"72": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="781" y="390"><next><block type="controls_repeat_until"><value name="condition"><block type="at_destination"></block></value><statement name="body"><block type="controls_repeat_until"><value name="condition"><block type="road_exists"><field name="CHOICE">RIGHT</field></block></value><statement name="body"><block type="move_forwards"></block></statement><next><block type="turn_right"></block></next></block></statement></block></next></block></xml>',
"73": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="728" y="636"><next><block type="controls_repeat_until"><value name="condition"><block type="dead_end"></block></value><statement name="body"><block type="controls_if"><mutation elseif="2" else="1"></mutation><value name="IF0"><block type="traffic_light"><field name="CHOICE">RED</field></block></value><statement name="DO0"><block type="wait"></block></statement><value name="IF1"><block type="road_exists"><field name="CHOICE">FORWARD</field></block></value><statement name="DO1"><block type="move_forwards"></block></statement><value name="IF2"><block type="road_exists"><field name="CHOICE">LEFT</field></block></value><statement name="DO2"><block type="turn_left"></block></statement><statement name="ELSE"><block type="turn_right"></block></statement></block></statement></block></next></block></xml>',
"74": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="100" y="100"><next><block type="call_proc"><field name="NAME">right</field><next><block type="controls_repeat"><field name="TIMES">2</field><statement name="DO"><block type="call_proc"><field name="NAME">straight</field><next><block type="call_proc"><field name="NAME">straight</field><next><block type="call_proc"><field name="NAME">straight_left</field></block></next></block></next></block></statement><next><block type="call_proc"><field name="NAME">right</field><next><block type="call_proc"><field name="NAME">straight_left</field></block></next></block></next></block></next></block></next></block><block type="declare_proc" x="350" y="100"><field name="NAME">straight</field><statement name="DO"><block type="move_forwards"></block></statement></block><block type="declare_proc" x="350" y="200"><field name="NAME">right</field><statement name="DO"><block type="turn_right"></block></statement></block><block type="declare_proc" x="350" y="300"><field name="NAME">straight_left</field><statement name="DO"><block type="move_forwards"><next><block type="turn_left"></block></next></block></statement></block></xml>',
"74": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="100" y="100"><next><block type="call_proc"><field name="NAME">right</field><next><block type="controls_repeat"><field name="TIMES">2</field><statement name="DO"><block type="call_proc"><field name="NAME">straight</field><next><block type="call_proc"><field name="NAME">straight</field><next><block type="call_proc"><field name="NAME">straight_left</field></block></next></block></next></block></statement><next><block type="call_proc"><field name="NAME">right</field><next><block type="call_proc"><field name="NAME">straight_left</field></block></next></block></next></block></next></block></next></block><block type="declare_proc" x="350" y="100"><field name="NAME">straight</field><statement name="DO"><block type="move_forwards"></block></statement></block><block type="declare_proc" x="350" y="200"><field name="NAME">right</field><statement name="DO"><block type="turn_right"></block></statement></block><block type="declare_proc" x="350" y="300"><field name="NAME">straight_left</field><statement name="DO"><block type="call_proc"><field name="NAME">straight</field><next><block type="turn_left"></block></next></block></statement></block></xml>',
"75": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="162" y="124"><next><block type="controls_repeat_until"><value name="condition"><block type="dead_end"></block></value><statement name="body"><block type="controls_repeat_until"><value name="condition"><block type="road_exists"><field name="CHOICE">LEFT</field></block></value><statement name="body"><block type="controls_repeat_until"><value name="condition"><block type="road_exists"><field name="CHOICE">RIGHT</field></block></value><statement name="body"><block type="move_forwards"></block></statement><next><block type="turn_right"></block></next></block></statement><next><block type="turn_left"></block></next></block></statement></block></next></block></xml>',
"76": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="399" y="647"><next><block type="controls_repeat_while"><value name="condition"><block type="logic_negate"><value name="BOOL"><block type="at_destination"></block></value></block></value><statement name="body"><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><block type="road_exists"><field name="CHOICE">FORWARD</field></block></value><statement name="DO0"><block type="move_forwards"></block></statement><statement name="ELSE"><block type="turn_right"><next><block type="turn_right"><next><block type="turn_right"></block></next></block></next></block></statement></block></statement></block></next></block></xml>',
"77": '<xml xmlns="http://www.w3.org/1999/xhtml"><block type="start" deletable="false" x="702" y="362"><next><block type="call_proc"><field name="NAME">go</field></block></next></block><block type="declare_proc" x="702" y="482"><field name="NAME">go</field><statement name="DO"><block type="controls_if"><mutation elseif="1"></mutation><value name="IF0"><block type="road_exists"><field name="CHOICE">FORWARD</field></block></value><statement name="DO0"><block type="move_forwards"><next><block type="call_proc"><field name="NAME">go</field></block></next></block></statement><value name="IF1"><block type="road_exists"><field name="CHOICE">LEFT</field></block></value><statement name="DO1"><block type="turn_left"><next><block type="call_proc"><field name="NAME">go</field></block></next></block></statement></block></statement></block></xml>',
Expand Down