slightly smarter version of ten-times, knows how to check for walls