This chapter provides an in-depth look at an implementation of John Conway’s Game of Life—probably the most widely implemented application on the planet. You’ll look at this particular program because my version applies ten distinct design patterns, all jumbled together as they are in the real world. At the same time, the program isn’t so large as to be impossible to understand.
I can’t really devote enough space in this chapter to give Life it’s due, but reams have been written on the subject. I’ve set up a web page at http://www.holub.com/software/life/
that lists various links to Life resources and also provides an applet version of the game ...
Get Holub on Patterns: Learning Design Patterns by Looking at Code now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.