Time to unleash a chaotic crowd of Pac-Men by running the page, and then clicking the "Add Pac-Man" and "Start Game" buttons. If you feel overwhelmed by the Pac-Men frenzy, you can click "Freeze One" or "Freeze All" to stop them.
• Updated new colors to match Pac-Men color palette
• Added new button "Freeze One" to stop one Pac-Man from moving
• Added new button "Freeze All" to stop all Pac-Men at once
• Run https://tylerthejester.github.io/PacMen-Exercise/ in your browser
• Click "Add Pac-Man" to add a Pac-Man, you can add as many Pac-Men as you would like
• Click "Start Game" to make the Pac-Men run, you can accelerate the Pac-Men by continue clicking the same button
• Click "Freeze One" to stop one Pac-Man at a time
• Click "Freeze All" to stop all Pac-Men at once
• Add a frame below the buttons so the page will look cleaner
• Make Pac-Men run only within the frame
• Add "Pac-Men" title above the frame
• Add dots so Pac-Men can eat
MIT License
Copyright (c) 2024 Tam (Tyler) Tran
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.