Further event usage and new collision detection between pac-man and ghosts