Use arrow keys to move. Avoid ghosts and bugs. Try to get as many pieces as you can!
Enjoy! Big thanks to the big book of coding; it gave me the idea!