Maybe because the picture you have in your mind is for the classic maze. There is a very famous AI course from UC Berkeley, CS 188, that uses Pac-Man with variable grid size to introduce Q-learning:
I think that after seeing that layout, plus the fact that the prompt mentions game and neural network training, you would have answered that the most likely game was Pac-Man :)