image

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.