Pacman works with multiple agents