Mouth-controlled Pacman

In this new version of Pacman game, you need to control the open and close of your Pacman’s mouth by actually opening/closing your own mouth!
Solo project, 10/2020





Inspiration

We were learning webcam and how to implement a javascript library that can detect face components into P5.js. Then the next week we were asked to make a game in P5.js, so I thought why not combine the two weeks’ assignment into one(which can also save my time!). 





In case this embed  doesn’t work on your browser: https://editor.p5js.org/yibo-fu/full/4pqfzy9Ri