Skip to content

MuzSh/pacman-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pacmen Factory

Objectives:

  1. Simulation that animates movement using loops and screen edge detection.

Custom Features:

  1. Custom styling of the buttons.
  2. Randomize position of pacman which also speeds up the pacmen
  3. Add input field to allow user to specify how many pacment to spawn.
  4. Current spawn counter to keep tracker of how many pacmen were implemented.

Run

Buttons

  • Click 'Spawn' to spawn pacman to the page randomly.
  • Click 'Speed Up' to simulate pacman craze, with each click increasing the overall movement speed.
  • Click 'Randomize'
  • Click 'Generate' to spawn a 'x' number of pacmen as specified from the user input field below.

Roadmap

No further development is anticipated until further notice. However, you can improve styling and adding more objects such as pacman food which dissapears on pacman collison. Perhaps, add more collision detection and potentially a machine learning algorithm which keeps keeps track of the total spawns and eradicates dead pacmen. This could remove all 'frozen pacmen'

Other Implementations That Can Be Added

  • Click 'Freeze' to freeze all current pacmen in their tracks.

MIT License

Copyright (c) 2023 Muzamal Sheikh

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.

Releases

No releases published

Packages

No packages published