prototype of pacman animation