alternating pacman directions to get feedback when tests have a long duration