This is an exercise where a pac man is animated to move back and forth across a screen
This project is a result of an assignment provided by MIT XPro. This assignment practices fundamental JavaScript skills making use of:
- Using parameters in functions
- Coding logic to loop through items in an array
- Scheduling execution based on events on a web page
Click on this link to view the project. Pac Man Exercise
To elaborate on this project I would like to animate pacman to enable the user to deposit food for pacman upon a mouse click. Next step would be to deposit food that is at random either garbage or food. If pacman eats garbage pacman turns a deeper shade of green. If pacman eats good food pacman returns to yellow. If pacman eats too much garbage, then pacman turns grey and rotates becomes motionless. Game over.
Please reach out if you have any questions on this project. My email adress is [email protected]
More information on MIT XPPro Certificate in Coding: Full Stack Development with MERN can be found here https://xpro.mit.edu/courses/course-v1:xPRO+PCCx+R1/
MIT License
Copyright (c) 2021 Laura Davis
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.