aroberge / reeborg

Enhanced Karel-the-robot clone
http://reeborg.ca/reeborg.html
Other
47 stars 36 forks source link

Problem when required path shown does a back and forth #444

Closed aroberge closed 5 years ago

aroberge commented 5 years ago

Consider this world:

image

In the 8th and 9th column, Reeborg has to go back and forth along the same line ... but the two arrow heads combine to form what looks like an X which is interpreted to mean that it should not go there.

This should be done differently: the most obvious solution is to use the same off-centre path tracing used to show Reeborg's own path.

aroberge commented 5 years ago

Implemented a solution; this is what it now looks like.

new_path