This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

jwilshire
jwilshire presents ...

2020/6/8

Left Hand Ant

If you are lost in a maze, stick out your left hand and touch a wall. Keep a wall on your left and walk forward, turning right only when necessary, and you will eventually escape (unless escape is impossible). This is a pretty inefficent solution, but a nice introduction to mazes.

1457 views / 14 in the last 7 days

1 vote | 0 in the last 7 days

Tags: simulation with-source algorithms

open in greenfoot
Your browser does not support the canvas tag.
Wow! My ants can do it too)) Only on both hands)

Want to leave a comment? You must first log in.

Who likes this?

Kostya20052011