reverse engineering pacman, with a contest system