Goomba moving logic (supports walls and, untested, exits).