movement and logic with walls