I am always on the lookout for a good book to take my game development skills to the next level. I also want an easy, fun read. Head First Design Patterns delivered. I love this book and often pick it up to go back over some of the patterns I learned. I was working on a new game that had these alien ships appear out of a portal and then fly in varying patterns. It became very tedious to code everything in a single class and cluttered and boxed-in (tightly coupled) when adding and instantiating a bunch of concrete classes all over the place.
So I learned the Strategy pattern (and concepts like looking for things that will change vs things that will stay the same) and applied a beautiful way to dynamically plug-in flying behaviors. Maybe I’ll do a blog on that in the future. In any case, take your games to the next level and save ton of future design re-work time by getting the book today.
Last modified: July 17, 2018