MIT's Full Stack Development Course Assignment: Assignment Proposal is to move pacman across the screen within the Browser's window boudaries.
- In addition to the proposed extercise I implemented the following:
- Pacman will be limited to Browser's window limites (height and width).
- Pacman will go around the window borders in loop.
>>>>>>> 605123295b67659d0448fae0788bd58f3cf38e42
The highlights of this exercise are:
-
To animate PacMan the fuction setInterval() was used by leveraging the images that are stored in a 2 dimentional array.
-
window.innerWidth and window.innerHeight are used to determine the current height and width of the Browser's window - This will get updated and pacman will obey the new dimentions as the user resises the windoe.
- Download and open index.html on Chrome, Edge, Firefox, or Safari.
- Download files
- Open index.html on the browser of your choice.
- Make pacman move based on uses input (arrow up, down, left, right).
- Make pacman detected objects on the screen.
MIT License - Copyright (c) 2020 John Williams License link