Another Classic

We've already made Asteroids, so can we do Pacman? Let's have a go.

Do Pacman in 2Code

Demo image for Do Pacman in 2Code

We will need Pacman, walls and ghosts.

Pacman must be controlled by the keyboard. He can go left, right, up and down but he can't go through walls.