AndyDentFree / rbstuff

Automatically exported from code.google.com/p/rbstuff
2 stars 0 forks source link

FrontIsClear walks Karel through walls #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Starting with an empty world with Karel, keep clicking run with the 
following until Karel hits a 
wall

if frontisclear then
move
end

What is the expected output? What do you see instead?

Karel should stop when the front is not clear however currently Karel continues 
to walk through 
the wall and appears at the opposite wall.

What version of the product are you using? On what operating system?

r40

Original issue reported on code.google.com by jeffreya...@gmail.com on 27 Apr 2009 at 8:02

GoogleCodeExporter commented 9 years ago
Fixed in r43- rewrite wall blocking detection to be proper spatial logic based 
purely on wall being horizontal or 
vertical

Original comment by dentaroo@gmail.com on 27 Apr 2009 at 10:45