The enemy moves a random number of steps in a random direction. This is a good technique to use if you want a random obstacle for a hero to move past. Part of series showing simple enemy artificial intelligence routines.