Livl-Corporation / livl-pacman

Insane Pac-Man clone from © Livl Corporation 🕹️
MIT License
0 stars 1 forks source link

feat(speed): implement logic for Pac-Man and Ghost speed #78

Closed jvondermarck closed 1 year ago

jvondermarck commented 1 year ago

How does it works ?

⚠️ I set up variables with test values to see the difference and to see how it works.

  • Speed of 10% when Pacman does not eat a coin ;
  • Speed of 50% when Pacman is eating SMALL_COIN ;
  • Speed of 100% when Pacman has eaten a BIG_COIN (until ghost are not eatable).

https://github.com/Livl-Corporation/livl-pacman/assets/62793491/ea6b7998-04d8-45f2-a186-e2adfdcad638