Now you’re going to add code to your game so that the player can catch ghosts!
Can you make your ghost disappear when it’s been caught? The player should be able to click ghosts to catch them.
If you test your game and find catching ghosts difficult, you can play the game in full-screen mode by clicking on this button: