Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 684 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 684 Bytes

PacMan Edge Detection Challenge

Description and Roadmap

This project challenged me to push my knowledge of JavaScript. I had to come up with a way for PacMan to detect the edge of the screen and change direction upon coming in contact with it. I also learned how to use both setTimeout and setInterval to make it run perpetually. As uploaded, PacMan's movement is triggered by twice by setTimout, one inside the function and once outside of it, so that it runs automatically when you open it.

Credits

Starter code provided by MIT xPro Professional Certificate in Coding Class

Link to Project

https://mitchshumway.github.io/PacMan/

Contact

[email protected]