An example of two kinds of collision detection in Scratch: "touching sprite" and "touching colour". When pacman touches the dot sprites they disappear. When pacman touches the blue-coloured walls, he stops moving in that direction. Use the left, right, up and down arrow keys to control pacman. Add code so pacman interacts with the ghost and add some more white dots for pacman to eat.
Pacman is a trademark of Namco.