DEV Community

Discussion on: Pac-Man Patterns — Ghost Movement (Strategy Pattern)

Collapse
 
francoisadt profile image
francoisadt

Thanks for the article summary and the code. I will have a look.
Armin's state machine approach is also interesting.
One can have a structure of re-usability/extension with the
state machine be accessible such to be saved in progression
of play.

Great ideas from both of you.

Maybe one should craft a "dummy" pacman game implementation to see how what fit.